BCondBool Class Reference

Thread conditional boolean. More...

#include <BCondInt.h>

List of all members.

Public Member Functions

 BCondBool ()
 ~BCondBool ()
int set ()
 Set value. Wakes waiting.
int clear ()
 Clear Value.
int value ()
 Current value.
int wait ()
 Wait until value is true.
int timedWait (int timeOutUs)
 Wait until set, with timeout.

Private Attributes

pthread_mutex_t omutex
pthread_cond_t ocond
int ovalue


Detailed Description

Thread conditional boolean.

Constructor & Destructor Documentation

BCondBool::BCondBool (  ) 

BCondBool::~BCondBool (  ) 


Member Function Documentation

int BCondBool::set (  ) 

Set value. Wakes waiting.

int BCondBool::clear (  ) 

Clear Value.

int BCondBool::value (  ) 

Current value.

int BCondBool::wait (  ) 

Wait until value is true.

int BCondBool::timedWait ( int  timeOutUs  ) 

Wait until set, with timeout.


Member Data Documentation

pthread_mutex_t BCondBool::omutex [private]

pthread_cond_t BCondBool::ocond [private]

int BCondBool::ovalue [private]


The documentation for this class was generated from the following files:

Generated on Thu Dec 18 13:21:32 2008 for LibBeamApi by  doxygen 1.5.6