Generic topic subscription that allows transparently subscribes to a topic through glim_rosnode and glim_rosbag.
More...
#include <extension_module_ros.hpp>
|
| | GenericTopicSubscription (const std::string &topic) |
| | Constructor.
|
| |
| virtual void | create_subscriber (ros::NodeHandle &nh)=0 |
| | Create a ROS subscriber.
|
| |
| virtual void | insert_message_instance (const rosbag::MessageInstance &m)=0 |
| | Parse a rosbag message instance and feed the msg to the callback.
|
| |
|
| GenericTopicSubscription (const std::string &topic, const std::string &msg_type="") |
| |
|
virtual void | create_subscriber (rclcpp::Node &node)=0 |
| |
|
virtual void | insert_message_instance (const rclcpp::SerializedMessage &serialized_msg, const std::string &msg_type="")=0 |
| |
|
|
const std::string | topic |
| | Topic name.
|
| |
|
const std::string | msg_type |
| |
Generic topic subscription that allows transparently subscribes to a topic through glim_rosnode and glim_rosbag.
◆ GenericTopicSubscription()
| glim::GenericTopicSubscription::GenericTopicSubscription |
( |
const std::string & |
topic | ) |
|
|
inline |
◆ create_subscriber()
| virtual void glim::GenericTopicSubscription::create_subscriber |
( |
ros::NodeHandle & |
nh | ) |
|
|
pure virtual |
◆ insert_message_instance()
| virtual void glim::GenericTopicSubscription::insert_message_instance |
( |
const rosbag::MessageInstance & |
m | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: