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/DbtPlyImageManager.cpp

    r110 r111  
    3939    : DbtPlyFileManager (name)
    4040    , im_(NULL)
    41     , shMem_(NULL)
     41    //, shMem_(NULL) // deprecated
    4242    , imageMutex_(new QMutex())
    4343    , firstTime(true)
     
    5151    delete imageMutex_;
    5252    // #endif
    53     if (shMem_) {
     53   /* if (shMem_) {
    5454        delete shMem_;
    5555        shMem_ = NULL;
    56     }
     56    }*/
    5757}
    5858
     
    114114        }
    115115        LOG_TRACE("image loaded");
    116         if (firstTime) {
     116       /* if (firstTime) {
    117117            // send image in shared memory
    118118            shmemSize = im_->byteCount();
     
    121121            firstTime = false;
    122122        }
    123         shMem_->write(im_->bits(), shmemSize);
     123        shMem_->write(im_->bits(), shmemSize);*/ // deprecated
    124124    }
    125125        break;
     
    134134ComponentBase::COMPONENT_CONFIGURATION DbtPlyImageManager::configureComponent(XmlComponentConfig config)
    135135{   
    136     mShMemName = kDefaultMemoryName.c_str();
     136    /*mShMemName = kDefaultMemoryName.c_str();
    137137    if (config.getProperty("shmem") != QString::null) {
    138138        mShMemName = config.getProperty("shmem");
    139     }
     139    } */ // deprecated
    140140    if (config.getIntProperty("ui") == 1) {
    141141        displayUI();
Note: See TracChangeset for help on using the changeset viewer.