Inheritance diagram for RawFileSink:
Public Member Functions | |
RawFileSink (FileHandle File) | |
virtual | ~RawFileSink () |
Clean up. | |
virtual bool | PutEssenceData (UInt8 *const Buffer, size_t BufferSize, bool EndOfItem=true) |
Receive the next "installment" of essence data. | |
virtual bool | EndOfData (void) |
Called once all data exhausted. | |
Protected Attributes | |
FileHandle | File |
The file to write. | |
bool | EndCalled |
True once EndOfData is called. | |
Private Member Functions | |
RawFileSink () |
RawFileSink | ( | ) | [private] |
RawFileSink | ( | FileHandle | File | ) | [inline] |
virtual ~RawFileSink | ( | ) | [inline, virtual] |
Clean up.
virtual bool PutEssenceData | ( | UInt8 *const | Buffer, | |
size_t | BufferSize, | |||
bool | EndOfItem = true | |||
) | [inline, 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
Implements EssenceSink.
virtual bool EndOfData | ( | void | ) | [inline, virtual] |
Called once all data exhausted.
Implements EssenceSink.
FileHandle File [protected] |
The file to write.
bool EndCalled [protected] |
True once EndOfData is called.