A helper class that provides storage for additional parameters that are inserted into the callback. More...
Public Member Functions | |
void | callback (const boost::shared_ptr< GazeboMsgT const > &msg_ptr) |
This is what gets passed into the Gazebo Subscribe method as a callback, and hence can only have one parameter (note boost::bind() does not work with the current Gazebo Subscribe() definitions). | |
Public Attributes | |
void(GazeboRosInterfacePlugin::* | fp )(const boost::shared_ptr< GazeboMsgT const > &, ros::Publisher ros_publisher) |
Function pointer to the subscriber callback with additional parameters. | |
GazeboRosInterfacePlugin * | ptr |
Pointer to the ROS interface plugin class. | |
ros::Publisher | ros_publisher |
The ROS publisher that is passed into the modified callback. |
A helper class that provides storage for additional parameters that are inserted into the callback.
GazeboMsgT The type of the message that will be subscribed to the Gazebo framework.
Definition at line 115 of file gazebo_ros_interface_plugin.cpp.
void gazebo::ConnectHelperStorage< GazeboMsgT >::callback | ( | const boost::shared_ptr< GazeboMsgT const > & | msg_ptr | ) | [inline] |
This is what gets passed into the Gazebo Subscribe method as a callback, and hence can only have one parameter (note boost::bind() does not work with the current Gazebo Subscribe() definitions).
Definition at line 131 of file gazebo_ros_interface_plugin.cpp.
void(GazeboRosInterfacePlugin::* gazebo::ConnectHelperStorage< GazeboMsgT >::fp)(const boost::shared_ptr< GazeboMsgT const > &, ros::Publisher ros_publisher) |
Function pointer to the subscriber callback with additional parameters.
Definition at line 121 of file gazebo_ros_interface_plugin.cpp.
GazeboRosInterfacePlugin* gazebo::ConnectHelperStorage< GazeboMsgT >::ptr |
Pointer to the ROS interface plugin class.
Definition at line 117 of file gazebo_ros_interface_plugin.cpp.
ros::Publisher gazebo::ConnectHelperStorage< GazeboMsgT >::ros_publisher |
The ROS publisher that is passed into the modified callback.
Definition at line 125 of file gazebo_ros_interface_plugin.cpp.