Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
Semaphore Class Reference

#include <Semaphore.h>

Public Member Functions

 Semaphore (size_t count=0)
 
 Semaphore (const Semaphore &)=delete
 
Semaphoreoperator= (const Semaphore &)=delete
 
void post ()
 
void wait ()
 
void disable ()
 
void enable ()
 
void post (int n)
 

Constructor & Destructor Documentation

◆ Semaphore() [1/2]

Semaphore ( size_t  count = 0)
inlineexplicit

◆ Semaphore() [2/2]

Semaphore ( const Semaphore )
delete

Member Function Documentation

◆ disable()

void disable ( )
inline

◆ enable()

void enable ( )
inline

◆ operator=()

Semaphore & operator= ( const Semaphore )
delete

◆ post() [1/2]

void post ( )
inline

◆ post() [2/2]

void post ( int  n)
inline

◆ wait()

void wait ( )
inline

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