mx::FileWriter Class Reference
[I/O Kit]

File writer implementation. More...

#include <FileWriter.h>

Inheritance diagram for mx::FileWriter:

mxmObject mx::IComponent mx::IFileWriter mx::IInterface mx::ISupportsFileSpecification mx::ISegmentedStreamReceiver mx::IInterface mx::IStreamReceiver mx::ISupportsShuttingDown mx::IErrorState mx::IInterface List of all members.

Public Member Functions

mxm::smart< mxmStringListenumerateInterfaces ()
 (Re)implemented.
mxm::smart< mxmStringListenumerateCapabilities (const mxmString &interface)
 (Re)implemented.
void setFilename (const mxmString &filename)
 (Re)implemented.
void setFileDescriptor (int fd)
 (Re)implemented.
void receiveStreamBytes (const mxm::u8 *bytes, int byte_num)
 (Re)implemented.
void newStreamSegment ()
 (Re)implemented.
void writeSingleConcatenatedFile ()
 (Re)implemented.
void setSegmentSeparator (const mxmString &separator)
 (Re)implemented.
void writeIndividualFiles (int num)
 (Re)implemented.
bool errorState ()
 (Re)implemented.
void setErrorState ()
 (Re)implemented.
void shutdown ()
 (Re)implemented.

Static Public Member Functions

static IComponentInvokernewInvoker ()
 Generates an invoker singleton for the component.

Private Member Functions

void openFile ()
void closeFile ()
void reset (bool safe_settings=false)

Static Private Member Functions

static mxm::smart< mxmStringList_enumerateInterfaces ()
 These static methods provide interface and capability ids for registration with the framework (for both the component and its invoker).
static mxm::smart< mxmStringList_enumerateCapabilities (const mxmString &interface_id)

Private Attributes

mxmString Filename
int FileDescriptor
mxm::smart< mx::StreamFileFile
bool IndividualFileMode
int IndividualFileNum
int IndividualFileCounter
mxmString Separator
bool ErrorEncountered
bool Fresh
bool FreshSegment
bool HasBeenShutDown

Classes

class  Invoker

Detailed Description

File writer implementation.

Author:
[khe] Kai Hergenroether


The documentation for this class was generated from the following files:
Generated on Fri Jun 29 17:21:06 2007 for MxPEG SDK by  doxygen 1.4.6