Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

mxcpcBinaryFileWriter Class Reference
[mxcpc_core (Core Module - MxPEG Decoding Infrastructure)]

Byte stream receiver writing to a binary file. More...

#include <mxcpcBinaryFileWriter.h>

Inheritance diagram for mxcpcBinaryFileWriter:

mxcpcByteStreamReceiver mxcpcMJPEGWriter List of all members.

Public Member Functions

 mxcpcBinaryFileWriter (const char *filename)
 mxcpcBinaryFileWriter (int file_descriptor)
 ~mxcpcBinaryFileWriter ()
void receiveStreamBytes (const mxcpc::u8 *bytes, int byte_num)
 (Re)implemented.

Protected Attributes

bool ErrorEncountered

Private Attributes

int OutFile
bool CloseFileUponDeletion
int RestoreMode

Detailed Description

Byte stream receiver writing to a binary file.

If invoked by specifying a filename to the constructor, the respective file is automatically opened for writing. It is also automatically closed again when the binary file writer is deleted later.

If, on the other hand, the writer is invoked by specifying a POSIX file descriptor to the constructor, the file descriptor is used instead. Note that in this case the corresponing file is not closed upon writer destruction.

Definition at line 44 of file mxcpcBinaryFileWriter.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 30 15:52:44 2006 for mxcpc by  doxygen 1.4.4