Public Member Functions | Private Attributes | List of all members
canopen::ControllerManagerLayer Class Reference

#include <controller_manager_layer.h>

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

Public Member Functions

 ControllerManagerLayer (const canopen::RobotLayerSharedPtr robot, const ros::NodeHandle &nh, const ros::Duration &fixed_period)
 
virtual void handleDiag (canopen::LayerReport &report)
 
virtual void handleHalt (canopen::LayerStatus &status)
 
virtual void handleInit (canopen::LayerStatus &status)
 
virtual void handleRead (canopen::LayerStatus &status, const LayerState &current_state)
 
virtual void handleRecover (canopen::LayerStatus &status)
 
virtual void handleShutdown (canopen::LayerStatus &status)
 
virtual void handleWrite (canopen::LayerStatus &status, const LayerState &current_state)
 
- 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 ()
 

Private Attributes

boost::shared_ptr< controller_manager::ControllerManagercm_
 
const ros::Duration fixed_period_
 
canopen::time_point last_time_
 
ros::NodeHandle nh_
 
boost::atomic< bool > recover_
 
canopen::RobotLayerSharedPtr robot_
 

Additional Inherited Members

- Public Types inherited from canopen::Layer
enum  LayerState
 
- Public Attributes inherited from canopen::Layer
 Error
 
 Halt
 
 Init
 
const std::string name
 
 Off
 
 Ready
 
 Recover
 
 Shutdown
 

Detailed Description

Definition at line 18 of file controller_manager_layer.h.

Constructor & Destructor Documentation

canopen::ControllerManagerLayer::ControllerManagerLayer ( const canopen::RobotLayerSharedPtr  robot,
const ros::NodeHandle nh,
const ros::Duration fixed_period 
)
inline

Definition at line 28 of file controller_manager_layer.h.

Member Function Documentation

virtual void canopen::ControllerManagerLayer::handleDiag ( canopen::LayerReport report)
inlinevirtual

Implements canopen::Layer.

Definition at line 34 of file controller_manager_layer.h.

virtual void canopen::ControllerManagerLayer::handleHalt ( canopen::LayerStatus status)
inlinevirtual

Implements canopen::Layer.

Definition at line 35 of file controller_manager_layer.h.

void ControllerManagerLayer::handleInit ( canopen::LayerStatus status)
virtual

Implements canopen::Layer.

Definition at line 36 of file controller_manager_layer.cpp.

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

Implements canopen::Layer.

Definition at line 7 of file controller_manager_layer.cpp.

void ControllerManagerLayer::handleRecover ( canopen::LayerStatus status)
virtual

Implements canopen::Layer.

Definition at line 46 of file controller_manager_layer.cpp.

void ControllerManagerLayer::handleShutdown ( canopen::LayerStatus status)
virtual

Implements canopen::Layer.

Definition at line 51 of file controller_manager_layer.cpp.

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

Implements canopen::Layer.

Definition at line 13 of file controller_manager_layer.cpp.

Member Data Documentation

boost::shared_ptr<controller_manager::ControllerManager> canopen::ControllerManagerLayer::cm_
private

Definition at line 19 of file controller_manager_layer.h.

const ros::Duration canopen::ControllerManagerLayer::fixed_period_
private

Definition at line 25 of file controller_manager_layer.h.

canopen::time_point canopen::ControllerManagerLayer::last_time_
private

Definition at line 23 of file controller_manager_layer.h.

ros::NodeHandle canopen::ControllerManagerLayer::nh_
private

Definition at line 21 of file controller_manager_layer.h.

boost::atomic<bool> canopen::ControllerManagerLayer::recover_
private

Definition at line 24 of file controller_manager_layer.h.

canopen::RobotLayerSharedPtr canopen::ControllerManagerLayer::robot_
private

Definition at line 20 of file controller_manager_layer.h.


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


canopen_motor_node
Author(s): Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:47