Public Member Functions | Private Attributes | List of all members
ram_path_planning::Semaphore Class Reference

#include <shemaphore.hpp>

Public Member Functions

 Semaphore (unsigned int counter)
 
void signal ()
 
void wait ()
 

Private Attributes

std::condition_variable condition_
 
unsigned int counter_
 
std::mutex mutex_
 

Detailed Description

Definition at line 8 of file shemaphore.hpp.

Constructor & Destructor Documentation

ram_path_planning::Semaphore::Semaphore ( unsigned int  counter)
inline

Definition at line 16 of file shemaphore.hpp.

Member Function Documentation

void ram_path_planning::Semaphore::signal ( )
inline

Definition at line 29 of file shemaphore.hpp.

void ram_path_planning::Semaphore::wait ( )
inline

Definition at line 21 of file shemaphore.hpp.

Member Data Documentation

std::condition_variable ram_path_planning::Semaphore::condition_
private

Definition at line 13 of file shemaphore.hpp.

unsigned int ram_path_planning::Semaphore::counter_
private

Definition at line 11 of file shemaphore.hpp.

std::mutex ram_path_planning::Semaphore::mutex_
private

Definition at line 12 of file shemaphore.hpp.


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


ram_path_planning
Author(s): Andres Campos - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:50:03