#include <essence.h>
Inheritance diagram for EssenceSink:
Public Member Functions | |
EssenceSink () | |
virtual | ~EssenceSink () |
Virtual destructor to allow polymorphism. | |
virtual bool | PutEssenceData (UInt8 *const Buffer, size_t BufferSize, bool EndOfItem=true)=0 |
Receive the next "installment" of essence data. | |
bool | PutEssenceData (DataChunkPtr &Buffer, bool EndOfItem=true) |
Receive the next "installment" of essence data from a smart pointer to a DataChunk. | |
bool | PutEssenceData (DataChunk &Buffer, bool EndOfItem=true) |
Receive the next "installment" of essence data from a DataChunk. | |
virtual bool | EndOfData (void)=0 |
Called once all data exhasted. |
EssenceSink | ( | ) | [inline] |
virtual ~EssenceSink | ( | ) | [inline, virtual] |
Virtual destructor to allow polymorphism.
virtual bool PutEssenceData | ( | UInt8 *const | Buffer, | |
size_t | BufferSize, | |||
bool | EndOfItem = true | |||
) | [pure virtual] |
Receive the next "installment" of essence data.
This will recieve a buffer containing thhe next bytes of essence data
Buffer | The data buffer | |
BufferSize | The number of bytes in the data buffer | |
EndOfItem | This buffer is the last in this wrapping item |
If false is returned the caller should make no more calls to this function, but the function should be implemented such that it is safe to do so
Implemented in RawFileSink, and WaveFileSink.
bool PutEssenceData | ( | DataChunkPtr & | Buffer, | |
bool | EndOfItem = true | |||
) | [inline] |
Receive the next "installment" of essence data from a smart pointer to a DataChunk.
bool PutEssenceData | ( | DataChunk & | Buffer, | |
bool | EndOfItem = true | |||
) | [inline] |
Receive the next "installment" of essence data from a DataChunk.
virtual bool EndOfData | ( | void | ) | [pure virtual] |
Called once all data exhasted.
Implemented in RawFileSink, and WaveFileSink.