Public Member Functions | |
SimpleSyncLayer (const SyncProperties &p, can::CommInterfaceSharedPtr interface) | |
Public Member Functions inherited from canopen::ManagingSyncLayer | |
virtual void | addNode (void *const ptr) |
ManagingSyncLayer (const SyncProperties &p, can::CommInterfaceSharedPtr interface) | |
virtual void | removeNode (void *const ptr) |
Public Member Functions inherited from canopen::SyncLayer | |
SyncLayer (const SyncProperties &p) | |
Public Member Functions inherited from canopen::Layer | |
void | diag (LayerReport &report) |
LayerState | getLayerState () |
void | halt (LayerStatus &status) |
void | init (LayerStatus &status) |
Layer (const std::string &n) | |
void | read (LayerStatus &status) |
void | recover (LayerStatus &status) |
void | shutdown (LayerStatus &status) |
void | write (LayerStatus &status) |
virtual | ~Layer () |
Public Member Functions inherited from canopen::SyncCounter | |
SyncCounter (const SyncProperties &p) | |
virtual | ~SyncCounter () |
Protected Member Functions | |
virtual void | handleInit (LayerStatus &status) |
virtual void | handleRead (LayerStatus &status, const LayerState ¤t_state) |
virtual void | handleWrite (LayerStatus &status, const LayerState ¤t_state) |
Protected Member Functions inherited from canopen::ManagingSyncLayer | |
virtual void | handleDiag (LayerReport &report) |
virtual void | handleHalt (LayerStatus &status) |
virtual void | handleRecover (LayerStatus &status) |
virtual void | handleShutdown (LayerStatus &status) |
Private Member Functions | |
void | resetCounter () |
void | tryUpdateCounter () |
Private Attributes | |
can::Frame | frame_ |
uint8_t | overflow_ |
time_point | read_time_ |
time_point | write_time_ |
Additional Inherited Members | |
Public Types inherited from canopen::Layer | |
enum | LayerState { Off, Init, Shutdown, Error, Halt, Recover, Ready } |
Public Attributes inherited from canopen::Layer | |
const std::string | name |
Public Attributes inherited from canopen::SyncCounter | |
const SyncProperties | properties |
Protected Attributes inherited from canopen::ManagingSyncLayer | |
boost::chrono::milliseconds | half_step_ |
can::CommInterfaceSharedPtr | interface_ |
std::set< void * > | nodes_ |
boost::mutex | nodes_mutex_ |
boost::atomic< size_t > | nodes_size_ |
boost::chrono::milliseconds | step_ |
Definition at line 44 of file master_plugin.cpp.
|
inline |
Definition at line 84 of file master_plugin.cpp.
|
inlineprotectedvirtual |
Implements canopen::Layer.
Definition at line 79 of file master_plugin.cpp.
|
inlineprotectedvirtual |
Implements canopen::Layer.
Definition at line 62 of file master_plugin.cpp.
|
inlineprotectedvirtual |
Implements canopen::Layer.
Definition at line 68 of file master_plugin.cpp.
|
inlineprivate |
Definition at line 49 of file master_plugin.cpp.
|
inlineprivate |
Definition at line 52 of file master_plugin.cpp.
|
private |
Definition at line 46 of file master_plugin.cpp.
|
private |
Definition at line 47 of file master_plugin.cpp.
|
private |
Definition at line 45 of file master_plugin.cpp.
|
private |
Definition at line 45 of file master_plugin.cpp.