ZeusBase-Library
2.0.4
|
#include <ISynchronizeObject.hpp>
Public Member Functions | |
virtual void MQUALIFIER | process ()=0 |
virtual bool MQUALIFIER | waitForCompletion ()=0 |
virtual void MQUALIFIER | notifyCompletion (bool bOK)=0 |
virtual bool MQUALIFIER | hasError () const =0 |
Public Member Functions inherited from zeus::IZUnknown | |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0 |
virtual void MQUALIFIER | addRef () const =0 |
virtual void MQUALIFIER | release () const =0 |
This interface defines a synchronize object. Its used to synchronize two threads
|
pure virtual |
Checks if an error occured
Implemented in zeus::TSynchronizeObject.
|
pure virtual |
Notifies the waiting thread. This is called from the synchronized thread.
Implemented in zeus::TSynchronizeObject.
|
pure virtual |
Processes the synchronizing. This is called from the synchronized thread.
Implemented in zeus::TSynchronizeObjectDelegater< T >, and zeus::TSynchronizeObject.
|
pure virtual |
the waiting thread must call this method to wait for termination of the process method
Implemented in zeus::TSynchronizeObject.