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

Detailed Description

Definition at line 73 of file master_plugin.cpp.

Constructor & Destructor Documentation

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

Definition at line 91 of file master_plugin.cpp.

Member Function Documentation

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

Implements canopen::Layer.

Definition at line 87 of file master_plugin.cpp.

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

Implements canopen::Layer.

Definition at line 76 of file master_plugin.cpp.

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

Implements canopen::Layer.

Definition at line 84 of file master_plugin.cpp.

Member Data Documentation

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

Definition at line 74 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 Sat May 4 2019 02:40:43