Template Struct message_type
Defined in File subscriber.h
Struct Documentation
-
template<typename M, bool is_adapter = rclcpp::is_type_adapter<M>::value>
struct message_type ROS subscription filter.
This class acts as a highest-level filter, simply passing messages from a ROS subscription through to the filters which have connected to it.
When this object is destroyed it will unsubscribe from the ROS subscription.
The Subscriber object is templated on the type of message being subscribed to.
CONNECTIONS
Subscriber has no input connection.
The output connection for the Subscriber object is the same signature as for rclcpp subscription callbacks, ie.
void callback(const std::shared_ptr<M const>&);