pelican/server/src/ServiceDataBuffer.cpp
/**
 * @details
 * Returns the specified version of the service data in the passed LockedData
 * object. If this data is unavailable then return an invalid.
 *
 * @param[in,out] lockedData  A reference to the LockedData object to set.
 * @param[in] version         The version identifier of the data to return.
 */
@details
Returns the specified version of the service data in the passed LockedData
object. If this data is unavailable then return an invalid.

@param[in,out] lockedData  A reference to the LockedData object to set.
@param[in] version         The version identifier of the data to return.
@details Returns the specified version of the service data in the passed LockedData object . If this data is unavailable then return an invalid . @param [ in out ] lockedData A reference to the LockedData object to set . @param [ in ] version The version identifier of the data to return .
void ServiceDataBuffer::getData(LockedData& lockedData, const QString& version)
{
    QMutexLocker lock(&_mutex);
    lockedData.setData(_data.value(version));
}
void ServiceDataBuffer :: getData ( LockedData & lockedData , const QString & version ) { QMutexLocker lock ( & _mutex ) ; lockedData . setData ( _data . value ( version ) ) ; }
@details
 Returns the specified version of the service data in the passed LockedData
 object.
@details Returns the specified version of the service data in the passed LockedData object .