Public Member Functions | Private Member Functions | Private Attributes
canopen::EMCYHandler Class Reference

#include <canopen.h>

Inheritance diagram for canopen::EMCYHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EMCYHandler (const boost::shared_ptr< can::CommInterface > interface, const boost::shared_ptr< ObjectStorage > storage)
void resetErrors (LayerStatus &status)

Private Member Functions

virtual void handleDiag (LayerReport &report)
void handleEMCY (const can::Frame &msg)
virtual void handleHalt (LayerStatus &status)
virtual void handleInit (LayerStatus &status)
virtual void handleRead (LayerStatus &status, const LayerState &current_state)
virtual void handleRecover (LayerStatus &status)
virtual void handleShutdown (LayerStatus &status)
virtual void handleWrite (LayerStatus &status, const LayerState &current_state)

Private Attributes

can::CommInterface::FrameListener::Ptr emcy_listener_
ObjectStorage::Entry< uint8_t > error_register_
boost::atomic< bool > has_error_
ObjectStorage::Entry< uint8_t > num_errors_
const boost::shared_ptr
< ObjectStorage
storage_

Detailed Description

Definition at line 140 of file canopen.h.


Constructor & Destructor Documentation

EMCYHandler::EMCYHandler ( const boost::shared_ptr< can::CommInterface interface,
const boost::shared_ptr< ObjectStorage storage 
)

Definition at line 49 of file emcy.cpp.


Member Function Documentation

void EMCYHandler::handleDiag ( LayerReport report) [private, virtual]

Implements canopen::Layer.

Definition at line 77 of file emcy.cpp.

void EMCYHandler::handleEMCY ( const can::Frame msg) [private]

Definition at line 43 of file emcy.cpp.

void EMCYHandler::handleHalt ( LayerStatus status) [private, virtual]

Implements canopen::Layer.

Definition at line 140 of file emcy.cpp.

void EMCYHandler::handleInit ( LayerStatus status) [private, virtual]

Implements canopen::Layer.

Definition at line 117 of file emcy.cpp.

void EMCYHandler::handleRead ( LayerStatus status,
const LayerState current_state 
) [private, virtual]

Implements canopen::Layer.

Definition at line 66 of file emcy.cpp.

void EMCYHandler::handleRecover ( LayerStatus status) [private, virtual]

Implements canopen::Layer.

Definition at line 135 of file emcy.cpp.

void EMCYHandler::handleShutdown ( LayerStatus status) [private, virtual]

Implements canopen::Layer.

Definition at line 138 of file emcy.cpp.

void EMCYHandler::handleWrite ( LayerStatus status,
const LayerState current_state 
) [private, virtual]

Implements canopen::Layer.

Definition at line 73 of file emcy.cpp.

Definition at line 130 of file emcy.cpp.


Member Data Documentation

Definition at line 144 of file canopen.h.

Definition at line 142 of file canopen.h.

boost::atomic<bool> canopen::EMCYHandler::has_error_ [private]

Definition at line 141 of file canopen.h.

Definition at line 143 of file canopen.h.

const boost::shared_ptr<ObjectStorage> canopen::EMCYHandler::storage_ [private]

Definition at line 146 of file canopen.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:54