Go to the documentation of this file.
18 #include <topic_tools/shape_shifter.h>
22 #include <cras_msgs/Heartbeat.h>
69 virtual void processMessage(const ::ros::MessageEvent<const ::topic_tools::ShapeShifter>& event);
75 std::unique_ptr<SubscriberType>
sub;
cras::optional< bool > hasHeader
Whether the subscribed topic has a header field. This is filled on receipt of the first message.
virtual void processMessage(const ::ros::MessageEvent< const ::topic_tools::ShapeShifter > &event)
Process the received message.
Lazy subscriber that subscribes only when a paired publisher has subscribers.
LazySubscriber< cras_msgs::Heartbeat, const ros::MessageEvent< const topic_tools::ShapeShifter > & > SubscriberType
The lazy subscriber type.
std::unique_ptr< SubscriberType > sub
The lazy subscriber.
Nodelet that republishes heartbeat of a topic with header.
Lazy subscriber that subscribes only when a paired publisher has subscribers.
ros::Publisher pub
The publisher of heartbeat messages.
cras_topic_tools
Author(s): Martin Pecka
autogenerated on Sun Jan 5 2025 03:50:49