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::getValue (  )  const

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

int BSema::post (  ) 

Post condition.

int BSema::timedWait ( int  timeUs  ) 

Wait for condition with timeout.

int BSema::tryWait (  ) 

Test for the condition.

int BSema::wait (  ) 

Wait for contition.


Member Data Documentation

sem_t BSema::osema [private]


The documentation for this class was generated from the following files:
Generated on 20 Oct 2015 for LibBeamApi by  doxygen 1.4.7