RTC Toolkit  1.0.0
Public Member Functions | List of all members
rtctk::dataTask::Semaphore Class Reference

#include <semaphore.hpp>

Public Member Functions

 Semaphore (int count=0)
 
void Post ()
 
void Wait ()
 
template<class Rep , class Period >
void Wait (std::chrono::duration< Rep, Period > timeout)
 
bool TryWait ()
 
void Clear ()
 

Constructor & Destructor Documentation

◆ Semaphore()

rtctk::dataTask::Semaphore::Semaphore ( int  count = 0)
inline

Member Function Documentation

◆ Clear()

void rtctk::dataTask::Semaphore::Clear ( )
inline

◆ Post()

void rtctk::dataTask::Semaphore::Post ( )
inline

◆ TryWait()

bool rtctk::dataTask::Semaphore::TryWait ( )
inline

◆ Wait() [1/2]

void rtctk::dataTask::Semaphore::Wait ( )
inline

◆ Wait() [2/2]

template<class Rep , class Period >
void rtctk::dataTask::Semaphore::Wait ( std::chrono::duration< Rep, Period >  timeout)
inline

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