#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 |
This interface defines a synchronize object. Its used to synchronize two threads
| virtual bool MQUALIFIER zeus::ISynchronizeObject::hasError | ( | ) | const [pure virtual] |
Checks if an error occured
Implemented in zeus::TSynchronizeObject.
| virtual void MQUALIFIER zeus::ISynchronizeObject::notifyCompletion | ( | bool | bOK ) | [pure virtual] |
Notifies the waiting thread. This is called from the synchronized thread.
Implemented in zeus::TSynchronizeObject.
| virtual void MQUALIFIER zeus::ISynchronizeObject::process | ( | ) | [pure virtual] |
Processes the synchronizing. This is called from the synchronized thread.
Implemented in zeus::TSynchronizeObjectDelegater< T >, and zeus::TSynchronizeObject.
| virtual bool MQUALIFIER zeus::ISynchronizeObject::waitForCompletion | ( | ) | [pure virtual] |
the waiting thread must call this method to wait for termination of the process method
Implemented in zeus::TSynchronizeObject.