Robotics Library  0.7.0
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
rl::util::xenomai::condition_variable Class Reference

#include <condition_variable.h>

Public Types

typedef RT_COND native_type
 
typedef native_typenative_handle_type
 

Public Member Functions

 condition_variable ()
 
 ~condition_variable ()
 
 condition_variable (const condition_variable &)=delete
 
condition_variableoperator= (const condition_variable &)=delete
 
native_handle_type native_handle ()
 
void notify_one ()
 
void notify_all ()
 
void wait (::std::unique_lock< mutex > &lock)
 
template<typename Predicate >
void wait (::std::unique_lock< mutex > &lock, Predicate p)
 
template<typename Duration >
::std::cv_status wait_until (::std::unique_lock< mutex > &lock, const ::std::chrono::time_point< clock_t, Duration > &atime)
 
template<typename Clock , typename Duration >
::std::cv_status wait_until (::std::unique_lock< mutex > &lock, const ::std::chrono::time_point< Clock, Duration > &atime)
 
template<typename Clock , typename Duration , typename Predicate >
bool wait_until (::std::unique_lock< mutex > &lock, const ::std::chrono::time_point< Clock, Duration > &atime, Predicate p)
 
template<typename Rep , typename Period >
::std::cv_status wait_for (::std::unique_lock< mutex > &lock, const ::std::chrono::duration< Rep, Period > &rtime)
 
template<typename Rep , typename Period , typename Predicate >
bool wait_for (::std::unique_lock< mutex > &lock, const ::std::chrono::duration< Rep, Period > &rtime, Predicate p)
 

Private Types

typedef chrono::system_clock clock_t
 

Private Attributes

native_type M_cond
 

Member Typedef Documentation

◆ clock_t

◆ native_handle_type

◆ native_type

Constructor & Destructor Documentation

◆ condition_variable() [1/2]

rl::util::xenomai::condition_variable::condition_variable ( )
inline

◆ ~condition_variable()

rl::util::xenomai::condition_variable::~condition_variable ( )
inline

◆ condition_variable() [2/2]

rl::util::xenomai::condition_variable::condition_variable ( const condition_variable )
delete

Member Function Documentation

◆ native_handle()

native_handle_type rl::util::xenomai::condition_variable::native_handle ( )
inline

◆ notify_all()

void rl::util::xenomai::condition_variable::notify_all ( )
inline

◆ notify_one()

void rl::util::xenomai::condition_variable::notify_one ( )
inline

◆ operator=()

condition_variable& rl::util::xenomai::condition_variable::operator= ( const condition_variable )
delete

◆ wait() [1/2]

void rl::util::xenomai::condition_variable::wait ( ::std::unique_lock< mutex > &  lock)
inline

◆ wait() [2/2]

template<typename Predicate >
void rl::util::xenomai::condition_variable::wait ( ::std::unique_lock< mutex > &  lock,
Predicate  p 
)
inline

◆ wait_for() [1/2]

template<typename Rep , typename Period >
::std::cv_status rl::util::xenomai::condition_variable::wait_for ( ::std::unique_lock< mutex > &  lock,
const ::std::chrono::duration< Rep, Period > &  rtime 
)
inline

◆ wait_for() [2/2]

template<typename Rep , typename Period , typename Predicate >
bool rl::util::xenomai::condition_variable::wait_for ( ::std::unique_lock< mutex > &  lock,
const ::std::chrono::duration< Rep, Period > &  rtime,
Predicate  p 
)
inline

◆ wait_until() [1/3]

template<typename Clock , typename Duration >
::std::cv_status rl::util::xenomai::condition_variable::wait_until ( ::std::unique_lock< mutex > &  lock,
const ::std::chrono::time_point< Clock, Duration > &  atime 
)
inline

◆ wait_until() [2/3]

template<typename Clock , typename Duration , typename Predicate >
bool rl::util::xenomai::condition_variable::wait_until ( ::std::unique_lock< mutex > &  lock,
const ::std::chrono::time_point< Clock, Duration > &  atime,
Predicate  p 
)
inline

◆ wait_until() [3/3]

template<typename Duration >
::std::cv_status rl::util::xenomai::condition_variable::wait_until ( ::std::unique_lock< mutex > &  lock,
const ::std::chrono::time_point< clock_t, Duration > &  atime 
)
inline

Member Data Documentation

◆ M_cond

native_type rl::util::xenomai::condition_variable::M_cond
private

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