Changeset 111 in pacpussensors for trunk/VelodyneComponent/VelodyneComponent.cpp


Ignore:
Timestamp:
12/15/15 13:19:48 (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/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}
Note: See TracChangeset for help on using the changeset viewer.