Public Member Functions | Protected Member Functions | Private Attributes | List of all members
canopen::ExternalSyncLayer Class Reference
Inheritance diagram for canopen::ExternalSyncLayer:
Inheritance graph
[legend]

Public Member Functions

 ExternalSyncLayer (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 &current_state)
 
virtual void handleWrite (LayerStatus &status, const LayerState &current_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 Attributes

can::BufferedReader reader_
 

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_
 
std::atomic< size_t > nodes_size_
 
boost::chrono::milliseconds step_
 

Detailed Description

Definition at line 95 of file master_plugin.cpp.

Constructor & Destructor Documentation

◆ ExternalSyncLayer()

canopen::ExternalSyncLayer::ExternalSyncLayer ( const SyncProperties p,
can::CommInterfaceSharedPtr  interface 
)
inline

Definition at line 113 of file master_plugin.cpp.

Member Function Documentation

◆ handleInit()

virtual void canopen::ExternalSyncLayer::handleInit ( LayerStatus status)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 109 of file master_plugin.cpp.

◆ handleRead()

virtual void canopen::ExternalSyncLayer::handleRead ( LayerStatus status,
const LayerState current_state 
)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 98 of file master_plugin.cpp.

◆ handleWrite()

virtual void canopen::ExternalSyncLayer::handleWrite ( LayerStatus status,
const LayerState current_state 
)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 106 of file master_plugin.cpp.

Member Data Documentation

◆ reader_

can::BufferedReader canopen::ExternalSyncLayer::reader_
private

Definition at line 96 of file master_plugin.cpp.


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


canopen_master
Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:21