pelican/server/src/AbstractChunker.cpp
/**
 * @details
 * Returns a writable data object of the specified \p size and \p type.
 *
 * This method should be used by the chunker to access memory in a stream
 * or service FIFO buffer to ensure that the chunker only ever writes into an
 * available, locked location.
 *
 * @param[in] size  The size of the chunk requested on the buffer.
 * @param[in] type  The type (name) of the chunk in the data buffer.
 */
@details
Returns a writable data object of the specified \p size and \p type.

This method should be used by the chunker to access memory in a stream
or service FIFO buffer to ensure that the chunker only ever writes into an
available, locked location.

@param[in] size  The size of the chunk requested on the buffer.
@param[in] type  The type (name) of the chunk in the data buffer.
@details Returns a writable data object of the specified \ p size and \ p type . This method should be used by the chunker to access memory in a stream or service FIFO buffer to ensure that the chunker only ever writes into an available locked location . @param [ in ] size The size of the chunk requested on the buffer . @param [ in ] type The type ( name ) of the chunk in the data buffer .
WritableData AbstractChunker::getDataStorage(size_t size,
        const QString& chunkType) const
{
    if (!_dataManager)
        throw QString("AbstractChunker::getDataStorage(): No data manager.");
    return _dataManager->getWritableData(chunkType, size);
}
WritableData AbstractChunker :: getDataStorage ( size_t size , const QString & chunkType ) const { if ( ! _dataManager ) throw QString ( " " ) ; return _dataManager -> getWritableData ( chunkType , size ) ; }
@details
 Returns a writable data object of the specified \p size and \p type.
@details Returns a writable data object of the specified \ p size and \ p type .