Changeset 111 in pacpussensors for trunk/VelodyneComponent


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;

Location:
trunk/VelodyneComponent
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VelodyneComponent/VelodyneComponent.cpp

    r99 r111  
    104104        LOG_ERROR("cannot connect SIGNAL(readyRead()) to SLOT(readPendingDatagrams())");
    105105    }
    106 
     106        /*
    107107    mShMem = new ShMem(kVelodyneSharedMemoryName.c_str(), sizeof(VelodynePolarData) );
    108108    if (!mShMem) {
    109109        LOG_FATAL("cannot create Velodyne shared memory");
    110110        return;
    111     }
     111    }*/ // deprecated
    112112}
    113113
     
    156156        mVelodyneSphericDataFile.close();
    157157    }
    158 
     158        /*
    159159    if (mShMem) {
    160160        delete mShMem;
    161161        mShMem = NULL;
    162     }
     162    } */ // deprecated
    163163}
    164164
     
    395395void VelodyneComponent::exposeData()
    396396{
    397     mShMem->write(mFullBuffer, sizeof(VelodynePolarData) );
    398 }
     397    // mShMem->write(mFullBuffer, sizeof(VelodynePolarData) ); // deprecated
     398
     399        // TODO ADD OUTPUT
     400}
  • trunk/VelodyneComponent/VelodyneComponent.h

    r99 r111  
    9696    DbiteFile mVelodyneSphericDataFile;
    9797
    98     ShMem * mShMem;
     98    // ShMem * mShMem; // deprecated
    9999};
    100100
Note: See TracChangeset for help on using the changeset viewer.