mx::ISupportsShuttingDown Class Reference
[Component Interfaces]

Interface to entities supporting controlled shutdown. More...

#include <ISupportsShuttingDown.h>

Inheritance diagram for mx::ISupportsShuttingDown:

mx::IErrorState mx::IInterface mx::IStreamReceiver mx::ISegmentedStreamReceiver mx::StreamFile mx::IFileWriter mx::FileWriter List of all members.

Public Member Functions

virtual void shutdown ()=0
 Shuts down the implementing entity.

Detailed Description

Interface to entities supporting controlled shutdown.

Some objects that implement IErrorState need to finalize things when they get deleted, such as closing files for example. Such operations could go wrong, and the calling context would have no way of knowing about it unless there were a mechanism allowing for controlled shutdown prior to the actual object deletion. This is what this interface is for. Client contexts call call shutdown() and test errorState() afterwards to find out about potential errors that might have occured.

Error detection semantics:

Author:
[khe] Kai Hergenroether


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