IWriterCallback Class Referenceabstract

Callback class to use when creating the EBML stream. More...

Inherited by IWriterCallBack, TWriterCallbackProxy1< COwnerClass >, and TWriterCallbackProxy2< COwnerClass, mfpWrite >.

Public Member Functions

virtual ~IWriterCallback (void)
 Virtual destructor.
 
virtual void write (const void *pBuffer, const EBML::uint64 ui64BufferSize)=0
 Gives the callback object a new stream chunk. More...
 

Detailed Description

Callback class to use when creating the EBML stream.

Author
Yann Renard (INRIA/IRISA)
Date
2006-08-07 This class is to be overloaded by the user in order to get rid of the stream writing events. It will be notified by the EBML::IWriter object of what is to be written in the stream while the user sends information to the writer.
See also
EBML::IWriter

Member Function Documentation

virtual void write ( const void *  pBuffer,
const EBML::uint64  ui64BufferSize 
)
pure virtual

Gives the callback object a new stream chunk.

Parameters
pBuffer[in] : The buffer to write in the stream
ui64BufferSize[in] : The buffer size in bytes

This function tells the callback object new data are ready to send in the EBML stream. This function may be called while the user sends data to the writer.