BSema Class Reference

Sempahore class. More...

#include <BSema.h>

List of all members.

Public Member Functions

 BSema (int value=0)
 BSema (const BSema &sema)
 ~BSema ()
int post ()
 Post condition.
int wait ()
 Wait for contition.
int timedWait (int timeUs)
 Wait for condition with timeout.
int tryWait ()
 Test for the condition.
int getValue () const
BSemaoperator= (const BSema &sema)

Private Attributes

sem_t osema


Detailed Description

Sempahore class.


Constructor & Destructor Documentation

BSema::BSema ( int  value = 0  ) 

BSema::BSema ( const BSema sema  ) 

BSema::~BSema (  ) 


Member Function Documentation

int BSema::post (  ) 

Post condition.

int BSema::wait (  ) 

Wait for contition.

int BSema::timedWait ( int  timeUs  ) 

Wait for condition with timeout.

int BSema::tryWait (  ) 

Test for the condition.

int BSema::getValue (  )  const

BSema & BSema::operator= ( const BSema sema  ) 


Member Data Documentation

sem_t BSema::osema [private]


The documentation for this class was generated from the following files:
Generated on Tue Dec 11 13:58:17 2007 for LibBeamApi by  doxygen 1.5.2