Changeset 111 in pacpussensors for trunk/StdDbtPlayerComponents/DbtPlyImageManager.cpp
- Timestamp:
- Dec 15, 2015, 1:19:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StdDbtPlayerComponents/DbtPlyImageManager.cpp
r110 r111 39 39 : DbtPlyFileManager (name) 40 40 , im_(NULL) 41 , shMem_(NULL)41 //, shMem_(NULL) // deprecated 42 42 , imageMutex_(new QMutex()) 43 43 , firstTime(true) … … 51 51 delete imageMutex_; 52 52 // #endif 53 if (shMem_) {53 /* if (shMem_) { 54 54 delete shMem_; 55 55 shMem_ = NULL; 56 } 56 }*/ 57 57 } 58 58 … … 114 114 } 115 115 LOG_TRACE("image loaded"); 116 if (firstTime) {116 /* if (firstTime) { 117 117 // send image in shared memory 118 118 shmemSize = im_->byteCount(); … … 121 121 firstTime = false; 122 122 } 123 shMem_->write(im_->bits(), shmemSize); 123 shMem_->write(im_->bits(), shmemSize);*/ // deprecated 124 124 } 125 125 break; … … 134 134 ComponentBase::COMPONENT_CONFIGURATION DbtPlyImageManager::configureComponent(XmlComponentConfig config) 135 135 { 136 mShMemName = kDefaultMemoryName.c_str();136 /*mShMemName = kDefaultMemoryName.c_str(); 137 137 if (config.getProperty("shmem") != QString::null) { 138 138 mShMemName = config.getProperty("shmem"); 139 } 139 } */ // deprecated 140 140 if (config.getIntProperty("ui") == 1) { 141 141 displayUI();
Note:
See TracChangeset
for help on using the changeset viewer.