mx::IAsyncAction Class Reference
[Component Interfaces]

Action that can be started in order to complete asynchronously. More...

#include <IAsyncAction.h>

Inheritance diagram for mx::IAsyncAction:

mx::IInterface mx::IGetConfigSection mx::IGetWebPage mx::GetConfigSection mx::GetWebPage mx::GetConfigSection List of all members.

Public Member Functions

virtual void executeAction ()=0
 Triggers the execution of the action - an action potentially executing already is aborted first.
virtual void abortAction ()=0
 Aborts execution of the action - in case the action is not currently executing, nothing happens.
virtual mxmQtSignal actionExecutedSignal ()=0
 Signal emitted when the action has been executed.
virtual bool actionExecuting ()=0
 Tells whether or not the action is currently executing.

Detailed Description

Action that can be started in order to complete asynchronously.

Upon completion of an action execution the client context gets notified via Qt signal.

Note:
This has nothing to do with multithreading - both client and action code execute within the same thread, moderated by the Qt event loop.
Requirement: When implementing objects get destroyed they are required to automatically abort a potential currently executing action.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual mxmQtSignal mx::IAsyncAction::actionExecutedSignal  )  [pure virtual]
 

Signal emitted when the action has been executed.

Signal signature is (bool success).

Parameters:
success true in case the action has executed successfully, and false otherwise

Implemented in mx::GetWebPage.


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