Public Member Functions | Private Types | Private Member Functions | Private Attributes
canopen::IPCSyncWaiter Class Reference

#include <master.h>

List of all members.

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

Detailed Description

Definition at line 13 of file master.h.


Member Typedef Documentation

typedef boost::interprocess::interprocess_condition canopen::IPCSyncWaiter::interprocess_condition [private]

Definition at line 15 of file master.h.

typedef boost::interprocess::interprocess_mutex canopen::IPCSyncWaiter::interprocess_mutex [private]

Definition at line 14 of file master.h.

typedef boost::interprocess:: scoped_lock<interprocess_mutex> canopen::IPCSyncWaiter::scoped_mutex_lock [private]

Definition at line 16 of file master.h.


Constructor & Destructor Documentation

Definition at line 92 of file master.h.


Member Function Documentation

template<typename AT >
bool canopen::IPCSyncWaiter::add ( const AT &  abs_time) [inline, private]

Definition at line 30 of file master.h.

template<typename DT >
bool canopen::IPCSyncWaiter::done ( const DT &  d) [inline]

Definition at line 81 of file master.h.

template<typename AT >
bool canopen::IPCSyncWaiter::done_one ( const AT &  abs_time) [inline, private]

Definition at line 59 of file master.h.

Definition at line 89 of file master.h.

template<typename AT >
bool canopen::IPCSyncWaiter::start_sync ( const AT &  abs_time) [inline, private]

Definition at line 50 of file master.h.

template<typename AT >
bool canopen::IPCSyncWaiter::sync ( const AT &  abs_time) [inline]

Definition at line 85 of file master.h.

template<typename DT >
bool canopen::IPCSyncWaiter::wait ( const DT &  d) [inline]

Definition at line 77 of file master.h.

template<typename AT >
bool canopen::IPCSyncWaiter::wait_done ( const AT &  abs_time) [inline, private]

Definition at line 68 of file master.h.

template<typename AT >
bool canopen::IPCSyncWaiter::wait_started ( const AT &  abs_time) [inline, private]

Definition at line 39 of file master.h.


Member Data Documentation

Definition at line 18 of file master.h.

Definition at line 28 of file master.h.

Definition at line 27 of file master.h.

Definition at line 26 of file master.h.

Definition at line 23 of file master.h.

Definition at line 22 of file master.h.

Definition at line 20 of file master.h.

Definition at line 24 of file master.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:42