#include <master.h>
Public Member Functions | |
virtual void | addNode (void *const ptr) |
IPCSyncLayer (const SyncProperties &p, boost::shared_ptr< can::CommInterface > interface, boost::shared_ptr< IPCSyncMaster > sync_master) | |
virtual void | removeNode (void *const ptr) |
Private Member Functions | |
virtual void | handleDiag (LayerReport &report) |
virtual void | handleHalt (LayerStatus &status) |
virtual void | handleInit (LayerStatus &status) |
virtual void | handleRead (LayerStatus &status, const LayerState ¤t_state) |
virtual void | handleRecover (LayerStatus &status) |
virtual void | handleShutdown (LayerStatus &status) |
virtual void | handleWrite (LayerStatus &status, const LayerState ¤t_state) |
Private Attributes | |
boost::shared_ptr < can::CommInterface > | interface_ |
boost::mutex | mutex_ |
boost::unordered_set< void const * > | nodes_ |
boost::shared_ptr< IPCSyncMaster > | sync_master_ |
canopen::IPCSyncLayer::IPCSyncLayer | ( | const SyncProperties & | p, |
boost::shared_ptr< can::CommInterface > | interface, | ||
boost::shared_ptr< IPCSyncMaster > | sync_master | ||
) | [inline] |
virtual void canopen::IPCSyncLayer::addNode | ( | void *const | ptr | ) | [inline, virtual] |
Implements canopen::SyncCounter.
virtual void canopen::IPCSyncLayer::handleDiag | ( | LayerReport & | report | ) | [inline, private, virtual] |
Implements canopen::Layer.
virtual void canopen::IPCSyncLayer::handleHalt | ( | LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
void IPCSyncLayer::handleInit | ( | LayerStatus & | status | ) | [private, virtual] |
Implements canopen::Layer.
Definition at line 32 of file master.cpp.
virtual void canopen::IPCSyncLayer::handleRead | ( | LayerStatus & | status, |
const LayerState & | current_state | ||
) | [inline, private, virtual] |
Implements canopen::Layer.
virtual void canopen::IPCSyncLayer::handleRecover | ( | LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
virtual void canopen::IPCSyncLayer::handleShutdown | ( | LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
virtual void canopen::IPCSyncLayer::handleWrite | ( | LayerStatus & | status, |
const LayerState & | current_state | ||
) | [inline, private, virtual] |
Implements canopen::Layer.
virtual void canopen::IPCSyncLayer::removeNode | ( | void *const | ptr | ) | [inline, virtual] |
Implements canopen::SyncCounter.
boost::shared_ptr<can::CommInterface> canopen::IPCSyncLayer::interface_ [private] |
boost::mutex canopen::IPCSyncLayer::mutex_ [private] |
boost::unordered_set<void const *> canopen::IPCSyncLayer::nodes_ [private] |
boost::shared_ptr<IPCSyncMaster> canopen::IPCSyncLayer::sync_master_ [private] |