Public Member Functions | Private Attributes
micros_swarm::Semaphore Class Reference

#include <semaphore.h>

List of all members.

Public Member Functions

void P ()
 Semaphore (int value)
 Semaphore (const Semaphore &)
void V ()

Private Attributes

boost::condition_variable condition_
boost::mutex mutex_
int value_

Detailed Description

Definition at line 30 of file semaphore.h.


Constructor & Destructor Documentation

micros_swarm::Semaphore::Semaphore ( int  value) [inline]

Definition at line 32 of file semaphore.h.


Member Function Documentation

void micros_swarm::Semaphore::P ( ) [inline]

Definition at line 35 of file semaphore.h.

void micros_swarm::Semaphore::V ( ) [inline]

Definition at line 45 of file semaphore.h.


Member Data Documentation

boost::condition_variable micros_swarm::Semaphore::condition_ [private]

Definition at line 55 of file semaphore.h.

boost::mutex micros_swarm::Semaphore::mutex_ [private]

Definition at line 54 of file semaphore.h.

Definition at line 53 of file semaphore.h.


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


micros_swarm
Author(s):
autogenerated on Thu Jun 6 2019 18:52:14