Ignore:
Timestamp:
Dec 15, 2015, 1:19:48 PM (9 years ago)
Author:
DHERBOMEZ Gérald
Message:

Delete deprecated call to shared memories. Use I/O mechanism instead.
Adjustement of dllimport and dllexport macros;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StdDbtPlayerComponents/DbtPlyCPTComponent.cpp

    r110 r111  
    5353    LOG_INFO("sizeof(trame_inscov)=" << sizeof(trame_inscov));
    5454
    55     mShMem = new ShMem("SPAN_FRAMES", AllFramesSize);
     55    // mShMem = new ShMem("SPAN_FRAMES", AllFramesSize); // deprecated
    5656    allFramesBuffer = new char[AllFramesSize];
    5757}
     
    6262{
    6363    delete[] allFramesBuffer;
    64     delete mShMem;
     64    // delete mShMem; // deprecated
    6565}
    6666
     
    137137            memcpy(allFramesBuffer, &bestgpsposaFrame_, sizeof(TimestampedBestgpsposaFrame));
    138138            //ShMem refresh
    139             mShMem->write(allFramesBuffer, AllFramesSize);
     139            // mShMem->write(allFramesBuffer, AllFramesSize); // deprecated
    140140
    141141            {
     
    156156                   + sizeof(TimestampedBestgpsposaFrame),
    157157                   &rawimuFrame_, sizeof(TimestampedRawimusaFrame));
    158             mShMem->write(allFramesBuffer, AllFramesSize);
     158            // mShMem->write(allFramesBuffer, AllFramesSize); // deprecated
    159159
    160160            {
     
    189189                   + sizeof(TimestampedBestgpsposaFrame) +sizeof(TimestampedRawimusaFrame),
    190190                   &inspvaFrame_, sizeof(TimestampedInspvaaFrame));
    191             mShMem->write(allFramesBuffer, AllFramesSize);
     191            // mShMem->write(allFramesBuffer, AllFramesSize); // deprecated
    192192
    193193            {
     
    236236                   + sizeof(TimestampedBestgpsposaFrame) + sizeof(TimestampedRawimusaFrame) + sizeof(TimestampedInspvaaFrame),
    237237                   &inscovFrame_, sizeof(TimestampedInscovFrame));
    238             mShMem->write(allFramesBuffer, AllFramesSize);
     238            // mShMem->write(allFramesBuffer, AllFramesSize); // deprecated
    239239
    240240            {
Note: See TracChangeset for help on using the changeset viewer.