mx::ISupportsFileSpecification Class Reference
[Component Interfaces]

Allows for specifying a file. More...

#include <ISupportsFileSpecification.h>

Inheritance diagram for mx::ISupportsFileSpecification:

mx::IInterface mx::IFileWriter mx::IStreamSourceFile mx::FileWriter mx::StreamFile List of all members.

Public Member Functions

virtual void setFilename (const mxmString &filename)=0
 Allows for specifying a file via its name in the file system.
virtual void setFileDescriptor (int fd)=0
 Allows for specifying a file via the low-level descriptor of an already opened file.

Detailed Description

Allows for specifying a file.

Various specification methods exist. If more than one is used, that one takes effect that was called last prior to the actual I/O initiation.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual void mx::ISupportsFileSpecification::setFileDescriptor int  fd  )  [pure virtual]
 

Allows for specifying a file via the low-level descriptor of an already opened file.

The file will not be closed automatically when the implementing object is destroyed.

Implemented in mx::FileWriter, and mx::StreamFile.

virtual void mx::ISupportsFileSpecification::setFilename const mxmString filename  )  [pure virtual]
 

Allows for specifying a file via its name in the file system.

The implementing object will open the file when I/O is activated. Likewise, the file will automatically be closed when the object dies.

Implemented in mx::FileWriter, and mx::StreamFile.


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