Public Member Functions | Private Types | Private Member Functions | Private Attributes
crl::multisense::details::utility::Semaphore Class Reference

#include <Thread.hh>

List of all members.

Public Member Functions

bool clear ()
bool clear ()
int32_t count ()
bool decrement ()
bool decrement ()
bool increment ()
bool increment ()
bool post ()
bool post ()
 Semaphore (std::size_t max=0)
 Semaphore (std::size_t max=0)
bool timedWait (const double &timeout)
bool timedWait (const double &timeout)
bool wait ()
bool wait ()
int32_t waiters ()
int32_t waiters ()
 ~Semaphore ()
 ~Semaphore ()

Private Types

typedef int32_t aligned_int32_t __attribute__ ((aligned(4)))

Private Member Functions

int32_t wait_ (DWORD ts=INFINITE)
int32_t wait_ (const struct timespec *tsP=NULL)

Private Attributes

aligned_int32_t m_avail
HANDLE m_handle
const std::size_t m_maximum
LONG m_waiters
aligned_int32_t m_waiters

Detailed Description

Definition at line 200 of file linux/Thread.hh.


Member Typedef Documentation

typedef int32_t aligned_int32_t crl::multisense::details::utility::Semaphore::__attribute__((aligned(4))) [private]

Definition at line 314 of file linux/Thread.hh.


Constructor & Destructor Documentation

Definition at line 274 of file linux/Thread.hh.

Definition at line 279 of file linux/Thread.hh.

Definition at line 244 of file win32/Thread.hh.

Definition at line 252 of file win32/Thread.hh.


Member Function Documentation

Definition at line 233 of file win32/Thread.hh.

Definition at line 262 of file linux/Thread.hh.

Definition at line 269 of file linux/Thread.hh.

Definition at line 241 of file win32/Thread.hh.

Definition at line 271 of file linux/Thread.hh.

Definition at line 242 of file win32/Thread.hh.

Definition at line 272 of file linux/Thread.hh.

Definition at line 222 of file win32/Thread.hh.

Definition at line 242 of file linux/Thread.hh.

bool crl::multisense::details::utility::Semaphore::timedWait ( const double &  timeout) [inline]

Definition at line 202 of file win32/Thread.hh.

bool crl::multisense::details::utility::Semaphore::timedWait ( const double &  timeout) [inline]

Definition at line 218 of file linux/Thread.hh.

Definition at line 192 of file win32/Thread.hh.

Definition at line 208 of file linux/Thread.hh.

int32_t crl::multisense::details::utility::Semaphore::wait_ ( DWORD  ts = INFINITE) [inline, private]

Definition at line 264 of file win32/Thread.hh.

int32_t crl::multisense::details::utility::Semaphore::wait_ ( const struct timespec *  tsP = NULL) [inline, private]

Definition at line 287 of file linux/Thread.hh.

Definition at line 240 of file win32/Thread.hh.

Definition at line 270 of file linux/Thread.hh.


Member Data Documentation

Definition at line 317 of file linux/Thread.hh.

Definition at line 275 of file win32/Thread.hh.

Definition at line 316 of file linux/Thread.hh.

Definition at line 278 of file win32/Thread.hh.

Definition at line 318 of file linux/Thread.hh.


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


multisense_lib
Author(s):
autogenerated on Mon Oct 9 2017 03:06:22