#include <controller_manager_layer.h>
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 ¤t_state) |
virtual void | handleRecover (canopen::LayerStatus &status) |
virtual void | handleShutdown (canopen::LayerStatus &status) |
virtual void | handleWrite (canopen::LayerStatus &status, const LayerState ¤t_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::ControllerManager > | cm_ |
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 | |
Definition at line 18 of file controller_manager_layer.h.
|
inline |
Definition at line 28 of file controller_manager_layer.h.
|
inlinevirtual |
Implements canopen::Layer.
Definition at line 34 of file controller_manager_layer.h.
|
inlinevirtual |
Implements canopen::Layer.
Definition at line 35 of file controller_manager_layer.h.
|
virtual |
Implements canopen::Layer.
Definition at line 36 of file controller_manager_layer.cpp.
|
virtual |
Implements canopen::Layer.
Definition at line 7 of file controller_manager_layer.cpp.
|
virtual |
Implements canopen::Layer.
Definition at line 46 of file controller_manager_layer.cpp.
|
virtual |
Implements canopen::Layer.
Definition at line 51 of file controller_manager_layer.cpp.
|
virtual |
Implements canopen::Layer.
Definition at line 13 of file controller_manager_layer.cpp.
|
private |
Definition at line 19 of file controller_manager_layer.h.
|
private |
Definition at line 25 of file controller_manager_layer.h.
|
private |
Definition at line 23 of file controller_manager_layer.h.
|
private |
Definition at line 21 of file controller_manager_layer.h.
|
private |
Definition at line 24 of file controller_manager_layer.h.
|
private |
Definition at line 20 of file controller_manager_layer.h.