fsf::CSemaphore Class Reference

Semaphore class. More...

#include <Fsf.h>

List of all members.

Public Member Functions

 CSemaphore ()
 The semaphore.
 ~CSemaphore ()
void wait ()
 Waits on semaphore.
void tryWait ()
 Try-waits on semaphore.
void post ()
 Posts to semaphore.

Protected Attributes

sem_t m_semaphore

Detailed Description

Semaphore class.

Encapsulates PTHREAD semaphore

Constructor & Destructor Documentation

fsf::CSemaphore::CSemaphore (  )  [inline]

The semaphore.

Default constructor

fsf::CSemaphore::~CSemaphore (  )  [inline]


Member Function Documentation

void fsf::CSemaphore::post (  )  [inline]

Posts to semaphore.

void fsf::CSemaphore::tryWait (  )  [inline]

Try-waits on semaphore.

void fsf::CSemaphore::wait (  )  [inline]

Waits on semaphore.

Member Data Documentation

sem_t fsf::CSemaphore::m_semaphore [protected]

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

Generated on Thu Oct 21 11:47:37 2010 for MFSM by  doxygen 1.5.9