Changeset 105 in pacpussensors for trunk/SpanCPTComponent


Ignore:
Timestamp:
Nov 24, 2015, 4:58:59 PM (9 years ago)
Author:
cerichar
Message:

compilation OK under Windows 10 64 bits, Qt5.5, pacpus 0.2.2, boost 1.54

Location:
trunk/SpanCPTComponent
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SpanCPTComponent/CMakeLists.txt

    r100 r105  
    111111    optimized PacpusLib debug PacpusLib_d
    112112    optimized PacpusTools debug PacpusTools_d
    113     optimized NMEA0183LIB debug NMEA0183LIB_d
     113    NMEA0183LIB
    114114)
    115115if (WIN32)
  • trunk/SpanCPTComponent/CPTComponent.cpp

    r99 r105  
    7373
    7474    //ShMems allocation
    75     mShMem = new ShMem("SPAN_FRAMES", AllFramesSize);
     75//    mShMem = new ShMem("SPAN_FRAMES", AllFramesSize);
    7676    mAllFramesBuffer = new char[AllFramesSize];
    7777}
     
    8080CPTComponent::~CPTComponent()
    8181{
    82     delete mShMem;
     82//    delete mShMem;
    8383    delete[] mAllFramesBuffer;
    8484}
     
    232232                                ;
    233233                    }
    234                     mShMem->write(allFramesBuffer, AllFramesSize);
     234                    //mShMem->write(allFramesBuffer, AllFramesSize);
    235235
    236236                                        if (position2DENUOutput_ && position2DENUOutput_->hasConnection())
     
    261261
    262262                    //ShMem refresh
    263                     mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
     263                    /*mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
    264264                                  +sizeof(TimestampedRawimusaFrame)
    265265                                  +sizeof(TimestampedInspvaaFrame)
    266                                   +sizeof(TimestampedInscovFrame));
     266                                  +sizeof(TimestampedInscovFrame));*/
    267267                    break;
    268268                case TRAME_INSPVAA:
     
    293293
    294294                    //ShMem refresh
    295                     mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
     295                   /* mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
    296296                                  +sizeof(TimestampedRawimusaFrame)
    297297                                  +sizeof(TimestampedInspvaaFrame)
    298                                   +sizeof(TimestampedInscovFrame));
     298                                  +sizeof(TimestampedInscovFrame));*/
    299299                    break;
    300300                case TRAME_INSCOV:
     
    321321
    322322                    //ShMem refresh
    323                     mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
     323                   /* mShMem->write(allFramesBuffer, sizeof(TimestampedBestgpsposaFrame)
    324324                                  +sizeof(TimestampedRawimusaFrame)
    325325                                  +sizeof(TimestampedInspvaaFrame)
    326                                   +sizeof(TimestampedInscovFrame));
     326                                  +sizeof(TimestampedInscovFrame));*/
    327327                    break;
    328328                default:
  • trunk/SpanCPTComponent/CPTComponent.h

    r99 r105  
    5050namespace pacpus {
    5151
    52 class ShMem;
     52//class ShMem;
    5353
    5454struct CPTCOMPONENT_API Stream8Position
     
    100100
    101101    //ShMems
    102     ShMem * mShMem;
     102    //ShMem * mShMem;
    103103
    104104    //Dbt files
Note: See TracChangeset for help on using the changeset viewer.