adchpp::Semaphore Class Reference

#include <Semaphores.h>

Collaboration diagram for adchpp::Semaphore:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Semaphore () throw ()
void signal () throw ()
bool wait (uint32_t millis) throw ()
bool wait () throw ()
 ~Semaphore () throw ()

Private Attributes

sem_t sem

Detailed Description

Definition at line 28 of file Semaphores.h.


Constructor & Destructor Documentation

adchpp::Semaphore::Semaphore (  )  throw () [inline]

Definition at line 66 of file Semaphores.h.

References sem.

adchpp::Semaphore::~Semaphore (  )  throw () [inline]

Definition at line 67 of file Semaphores.h.

References sem.


Member Function Documentation

void adchpp::Semaphore::signal (  )  throw () [inline]

Definition at line 68 of file Semaphores.h.

References sem.

bool adchpp::Semaphore::wait ( uint32_t  millis  )  throw () [inline]

Todo:
This is an ugly poll...it seems like there's no sem_timedwait...

Definition at line 70 of file Semaphores.h.

References sem.

bool adchpp::Semaphore::wait (  )  throw () [inline]

Definition at line 69 of file Semaphores.h.

References sem.


Member Data Documentation

sem_t adchpp::Semaphore::sem [private]

Definition at line 82 of file Semaphores.h.

Referenced by Semaphore(), signal(), wait(), and ~Semaphore().

Generated on Sat Nov 27 23:38:46 2010 for adchpp by  doxygen 1.6.3