Public Member Functions

zeus::ISynchronizeObject Class Reference

#include <ISynchronizeObject.hpp>

Inheritance diagram for zeus::ISynchronizeObject:
zeus::IZUnknown zeus::TSynchronizeObject zeus::TSynchronizeObjectDelegater< T >

List of all members.

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

Detailed Description

This interface defines a synchronize object. Its used to synchronize two threads


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:36