#include <master.h>
Public Member Functions | |
template<typename DT > | |
bool | done (const DT &d) |
scoped_mutex_lock | get_lock () |
IPCSyncWaiter () | |
template<typename AT > | |
bool | sync (const AT &abs_time) |
template<typename DT > | |
bool | wait (const DT &d) |
Private Types | |
typedef boost::interprocess::interprocess_condition | interprocess_condition |
typedef boost::interprocess::interprocess_mutex | interprocess_mutex |
typedef boost::interprocess::scoped_lock < interprocess_mutex > | scoped_mutex_lock |
Private Member Functions | |
template<typename AT > | |
bool | add (const AT &abs_time) |
template<typename AT > | |
bool | done_one (const AT &abs_time) |
template<typename AT > | |
bool | start_sync (const AT &abs_time) |
template<typename AT > | |
bool | wait_done (const AT &abs_time) |
template<typename AT > | |
bool | wait_started (const AT &abs_time) |
Private Attributes | |
interprocess_mutex | master_mutex |
size_t | number |
interprocess_condition | number_cond |
interprocess_mutex | number_mutex |
interprocess_condition | started_cond |
interprocess_mutex | started_mutex |
interprocess_mutex | sync_mutex |
size_t | sync_started |
typedef boost::interprocess::interprocess_condition canopen::IPCSyncWaiter::interprocess_condition [private] |
typedef boost::interprocess::interprocess_mutex canopen::IPCSyncWaiter::interprocess_mutex [private] |
typedef boost::interprocess:: scoped_lock<interprocess_mutex> canopen::IPCSyncWaiter::scoped_mutex_lock [private] |
canopen::IPCSyncWaiter::IPCSyncWaiter | ( | ) | [inline] |
bool canopen::IPCSyncWaiter::add | ( | const AT & | abs_time | ) | [inline, private] |
bool canopen::IPCSyncWaiter::done | ( | const DT & | d | ) | [inline] |
bool canopen::IPCSyncWaiter::done_one | ( | const AT & | abs_time | ) | [inline, private] |
scoped_mutex_lock canopen::IPCSyncWaiter::get_lock | ( | ) | [inline] |
bool canopen::IPCSyncWaiter::start_sync | ( | const AT & | abs_time | ) | [inline, private] |
bool canopen::IPCSyncWaiter::sync | ( | const AT & | abs_time | ) | [inline] |
bool canopen::IPCSyncWaiter::wait | ( | const DT & | d | ) | [inline] |
bool canopen::IPCSyncWaiter::wait_done | ( | const AT & | abs_time | ) | [inline, private] |
bool canopen::IPCSyncWaiter::wait_started | ( | const AT & | abs_time | ) | [inline, private] |
size_t canopen::IPCSyncWaiter::number [private] |
size_t canopen::IPCSyncWaiter::sync_started [private] |