In file conditn.hxx:

class OCondition : public OObject, ICondition

OCondition Implements the ICondition interface

Inheritance:


Public Methods

virtual Boolean check ()
True: condition is set
False: condition is not set
does not block
OCondition ()
initial state of condition is not set
virtual void reset ()
set condition to False => wait() will block, check() returns False
virtual void set ()
set condition to True => wait() will not block, check() returns True
virtual Boolean wait ()
Blocks if condition is not set
If condition has been destroyed prematurely, wait() will return with False

Inherited from OObject:

Public Methods

virtual const OClassInfo& getClassInfo()
Boolean isKindOf(const OClassInfo& rClass)
void operator delete(void* p)
void* operator new(size_t size)

Inherited from ICondition:


Documentation

OCondition Implements the ICondition interface.
OCondition()
initial state of condition is not set

virtual void set()
set condition to True => wait() will not block, check() returns True

virtual void reset()
set condition to False => wait() will block, check() returns False

virtual Boolean wait()
Blocks if condition is not set
If condition has been destroyed prematurely, wait() will return with False

virtual Boolean check()
True: condition is set
False: condition is not set
does not block


This class has no child classes.
Author:
Bernd Hofner
Version:
1.0

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de