Changeset 111 in pacpussensors for trunk/StdDbtPlayerComponents/DbtPlyAlascaManager.cpp
- Timestamp:
- Dec 15, 2015, 1:19:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StdDbtPlayerComponents/DbtPlyAlascaManager.cpp
r108 r111 29 29 static ComponentFactory<DbtPlyAlascaManager> sFactory("DbtPlyAlascaManager"); 30 30 31 static const char * kAlaskaMemoryName = "alasca"; 31 //static const char * kAlaskaMemoryName = "alasca";// deprecated 32 32 33 33 ////////////////////////////////////////////////////////////////////////// … … 38 38 LOG_TRACE("constructor(" << name << ")"); 39 39 40 mShMem = new ShMem(kAlaskaMemoryName, sizeof(ScanAlascaData));40 // mShMem = new ShMem(kAlaskaMemoryName, sizeof(ScanAlascaData)); // deprecated 41 41 } 42 42 … … 46 46 { 47 47 LOG_TRACE("destructor"); 48 delete mShMem;48 //delete mShMem; // deprecated 49 49 } 50 50 … … 121 121 int32_t utcMagicWord = 0; 122 122 mDataFile.read(reinterpret_cast<char *>(&(utcMagicWord)), sizeof(utcMagicWord)); 123 if (UTC_MAGIC_WORD != utcMagicWord) {123 /* if (UTC_MAGIC_WORD != utcMagicWord) { 124 124 LOG_WARN("corrupted data, do not use them!"); 125 125 LOG_DEBUG("wrong magic word: EXPECTED=" << UTC_MAGIC_WORD << ", ACTUAL=" << utcMagicWord); … … 127 127 LOG_TRACE("writing scan"); 128 128 mShMem->write(&mAlascaData, sizeof(ScanAlascaData)); 129 } 129 }*/ // deprecated 130 130 131 131 if (mVerbose) {
Note:
See TracChangeset
for help on using the changeset viewer.