#include <master.h>
Classes | |
class | SyncObject |
Public Member Functions | |
bool | disableSync () |
bool | enableSync () |
IPCSyncMaster (boost::shared_ptr< can::CommInterface > interface) | |
void | notify (LayerStatus &status) |
void | start (LayerStatus &status) |
void | stop (LayerStatus &status) |
void | wait (LayerStatus &status) |
Private Member Functions | |
virtual SyncObject * | getSyncObject (LayerStatus &status)=0 |
void | run () |
Private Attributes | |
boost::shared_ptr < can::CommInterface > | interface_ |
SyncObject * | sync_obj_ |
boost::shared_ptr< boost::thread > | thread_ |
canopen::IPCSyncMaster::IPCSyncMaster | ( | boost::shared_ptr< can::CommInterface > | interface | ) | [inline] |
bool canopen::IPCSyncMaster::disableSync | ( | ) | [inline] |
bool canopen::IPCSyncMaster::enableSync | ( | ) | [inline] |
virtual SyncObject* canopen::IPCSyncMaster::getSyncObject | ( | LayerStatus & | status | ) | [private, pure virtual] |
Implemented in canopen::SharedIPCSyncMaster, and canopen::LocalIPCSyncMaster.
void canopen::IPCSyncMaster::notify | ( | LayerStatus & | status | ) | [inline] |
void IPCSyncMaster::run | ( | ) | [private] |
Definition at line 11 of file master.cpp.
void canopen::IPCSyncMaster::start | ( | LayerStatus & | status | ) | [inline] |
void canopen::IPCSyncMaster::stop | ( | LayerStatus & | status | ) | [inline] |
void canopen::IPCSyncMaster::wait | ( | LayerStatus & | status | ) | [inline] |
boost::shared_ptr<can::CommInterface> canopen::IPCSyncMaster::interface_ [private] |
SyncObject* canopen::IPCSyncMaster::sync_obj_ [private] |
Reimplemented in canopen::LocalIPCSyncMaster.
boost::shared_ptr<boost::thread> canopen::IPCSyncMaster::thread_ [private] |