Changeset 105 in pacpussensors for trunk/SpanCPTComponent/CPTComponent.cpp
- Timestamp:
- Nov 24, 2015, 4:58:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SpanCPTComponent/CPTComponent.cpp
r99 r105 73 73 74 74 //ShMems allocation 75 mShMem = new ShMem("SPAN_FRAMES", AllFramesSize);75 // mShMem = new ShMem("SPAN_FRAMES", AllFramesSize); 76 76 mAllFramesBuffer = new char[AllFramesSize]; 77 77 } … … 80 80 CPTComponent::~CPTComponent() 81 81 { 82 delete mShMem;82 // delete mShMem; 83 83 delete[] mAllFramesBuffer; 84 84 } … … 232 232 ; 233 233 } 234 mShMem->write(allFramesBuffer, AllFramesSize);234 //mShMem->write(allFramesBuffer, AllFramesSize); 235 235 236 236 if (position2DENUOutput_ && position2DENUOutput_->hasConnection()) … … 261 261 262 262 //ShMem refresh 263 mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)263 /*mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame) 264 264 +sizeof(TimestampedRawimusaFrame) 265 265 +sizeof(TimestampedInspvaaFrame) 266 +sizeof(TimestampedInscovFrame)); 266 +sizeof(TimestampedInscovFrame));*/ 267 267 break; 268 268 case TRAME_INSPVAA: … … 293 293 294 294 //ShMem refresh 295 mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)295 /* mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame) 296 296 +sizeof(TimestampedRawimusaFrame) 297 297 +sizeof(TimestampedInspvaaFrame) 298 +sizeof(TimestampedInscovFrame)); 298 +sizeof(TimestampedInscovFrame));*/ 299 299 break; 300 300 case TRAME_INSCOV: … … 321 321 322 322 //ShMem refresh 323 mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)323 /* mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame) 324 324 +sizeof(TimestampedRawimusaFrame) 325 325 +sizeof(TimestampedInspvaaFrame) 326 +sizeof(TimestampedInscovFrame)); 326 +sizeof(TimestampedInscovFrame));*/ 327 327 break; 328 328 default:
Note:
See TracChangeset
for help on using the changeset viewer.