Changeset 105 in pacpussensors for trunk/SpanCPTComponent
- Timestamp:
- Nov 24, 2015, 4:58:59 PM (9 years ago)
- Location:
- trunk/SpanCPTComponent
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SpanCPTComponent/CMakeLists.txt
r100 r105 111 111 optimized PacpusLib debug PacpusLib_d 112 112 optimized PacpusTools debug PacpusTools_d 113 optimized NMEA0183LIB debug NMEA0183LIB_d113 NMEA0183LIB 114 114 ) 115 115 if (WIN32) -
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: -
trunk/SpanCPTComponent/CPTComponent.h
r99 r105 50 50 namespace pacpus { 51 51 52 class ShMem;52 //class ShMem; 53 53 54 54 struct CPTCOMPONENT_API Stream8Position … … 100 100 101 101 //ShMems 102 ShMem * mShMem;102 //ShMem * mShMem; 103 103 104 104 //Dbt files
Note:
See TracChangeset
for help on using the changeset viewer.