mx::IRequiresActivation Class Reference
[Component Interfaces]

Interface to objects that need to be explicitly activated in order to transition from an initial configuration phase over to their operational phase. More...

#include <IRequiresActivation.h>

Inheritance diagram for mx::IRequiresActivation:

mx::IInterface mx::IStreamSource mx::IAsyncStreamSource mx::IStreamSourceFile mx::IHTTPGetStreamSource mx::StreamFile mx::HTTPGetStreamSourceCore mx::HTTPGetStreamSource List of all members.

Public Member Functions

virtual bool activate ()=0
 [Config Phase] Switches the object from its initial configuration phase to its operational phase - can only be called once.

Detailed Description

Interface to objects that need to be explicitly activated in order to transition from an initial configuration phase over to their operational phase.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual bool mx::IRequiresActivation::activate  )  [pure virtual]
 

[Config Phase] Switches the object from its initial configuration phase to its operational phase - can only be called once.

Returns:
false in case an error was detected, and true otherwise. Note that a return value of true does not guarantee that there was no error. On the other hand, even in case an error was detected and reported, the object is considered being in active state with the return of activate(). Operational phase methods called afterwards must not crash!

Implemented in mx::HTTPGetStreamSourceCore, 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