Message handler that relays joint positions (converts simple message types to ROS message types and publishes them) More...
#include <robot_status_relay_handler.h>
Public Member Functions | |
bool | init (industrial::smpl_msg_connection::SmplMsgConnection *connection) |
Class initializer. | |
RobotStatusRelayHandler () | |
Constructor. | |
Protected Member Functions | |
bool | internalCB (industrial::robot_status_message::RobotStatusMessage &in) |
Callback executed upon receiving a robot status message. | |
Protected Attributes | |
ros::NodeHandle | node_ |
ros::Publisher | pub_robot_status_ |
Private Member Functions | |
bool | internalCB (industrial::simple_message::SimpleMessage &in) |
Callback executed upon receiving a message. |
Message handler that relays joint positions (converts simple message types to ROS message types and publishes them)
THIS CLASS IS NOT THREAD-SAFE
Definition at line 53 of file robot_status_relay_handler.h.
industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::RobotStatusRelayHandler | ( | ) | [inline] |
Constructor.
Definition at line 63 of file robot_status_relay_handler.h.
bool industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::init | ( | industrial::smpl_msg_connection::SmplMsgConnection * | connection | ) |
Class initializer.
connection | simple message connection that will be used to send replies. |
Definition at line 47 of file robot_status_relay_handler.cpp.
bool industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::internalCB | ( | industrial::robot_status_message::RobotStatusMessage & | in | ) | [protected] |
Callback executed upon receiving a robot status message.
in | incoming message |
Definition at line 66 of file robot_status_relay_handler.cpp.
bool industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::internalCB | ( | industrial::simple_message::SimpleMessage & | in | ) | [private, virtual] |
Callback executed upon receiving a message.
in | incoming message |
Implements industrial::message_handler::MessageHandler.
Definition at line 53 of file robot_status_relay_handler.cpp.
ros::NodeHandle industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::node_ [protected] |
Definition at line 78 of file robot_status_relay_handler.h.
ros::Publisher industrial_robot_client::robot_status_relay_handler::RobotStatusRelayHandler::pub_robot_status_ [protected] |
Definition at line 77 of file robot_status_relay_handler.h.