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

#include <condition_variable.h>

Classes

struct  Unlock
 

Public Types

typedef condition_variable::native_handle_type native_handle_type
 

Public Member Functions

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

Private Types

typedef chrono::system_clock clock_t
 

Private Attributes

condition_variable M_cond
 
::std::shared_ptr< mutexM_mutex
 

Member Typedef Documentation

◆ clock_t

◆ native_handle_type

Constructor & Destructor Documentation

◆ condition_variable_any() [1/2]

rl::util::xenomai::condition_variable_any::condition_variable_any ( )
inline

◆ ~condition_variable_any()

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

◆ condition_variable_any() [2/2]

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

Member Function Documentation

◆ native_handle()

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

◆ notify_all()

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

◆ notify_one()

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

◆ operator=()

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

◆ wait() [1/2]

template<typename Lock >
void rl::util::xenomai::condition_variable_any::wait ( Lock &  lock)
inline

◆ wait() [2/2]

template<typename Lock , typename Predicate >
void rl::util::xenomai::condition_variable_any::wait ( Lock &  lock,
Predicate  p 
)
inline

◆ wait_for() [1/2]

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

◆ wait_for() [2/2]

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

◆ wait_until() [1/2]

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

◆ wait_until() [2/2]

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

Member Data Documentation

◆ M_cond

condition_variable rl::util::xenomai::condition_variable_any::M_cond
private

◆ M_mutex

::std::shared_ptr<mutex> rl::util::xenomai::condition_variable_any::M_mutex
private

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