pelican/server/src/LockedData.cpp
/**
 * @details
 * Sets the data object and locks it.
 */
@details
Sets the data object and locks it.
@details Sets the data object and locks it .
void LockedData::setData(AbstractLockable* data)
{
    if( data ) {
        _data = data;
        data->lock();
    }
}
void LockedData :: setData ( AbstractLockable * data ) { if ( data ) { _data = data ; data -> lock ( ) ; } }
@details
 Sets the data object and locks it.
@details Sets the data object and locks it .