pelican/server/src/DataManager.cpp
/**
 * @details
 * Note that the DataManager takes ownership of the StreamDataBuffer, and will
 * delete it on destruction.
 */
@details
Note that the DataManager takes ownership of the StreamDataBuffer, and will
delete it on destruction.
@details Note that the DataManager takes ownership of the StreamDataBuffer and will delete it on destruction .
void DataManager::setStreamDataBuffer(const QString& name, StreamDataBuffer* buffer)
{
    verbose("Adding StreamBuffer \"" + name + "\" of size " + QString().setNum(buffer->maxSize()));
    _specs.addStreamData(name);
    buffer->setVerbosity(_verboseLevel);
    buffer->setDataManager(this);
    _streams[name]=buffer;
}
void DataManager :: setStreamDataBuffer ( const QString & name , StreamDataBuffer * buffer ) { verbose ( " \" " + name + " \" " + QString ( ) . setNum ( buffer -> maxSize ( ) ) ) ; _specs . addStreamData ( name ) ; buffer -> setVerbosity ( _verboseLevel ) ; buffer -> setDataManager ( this ) ; _streams [ name ] = buffer ; }
@details
 Note that the DataManager takes ownership of the StreamDataBuffer, and will
 delete it on destruction.
@details Note that the DataManager takes ownership of the StreamDataBuffer and will delete it on destruction .