16 #include <topic_tools/shape_shifter.h> 45 virtual void resetCb(const ::ros::MessageEvent<::topic_tools::ShapeShifter const>&);
51 virtual void cb(const ::ros::MessageEvent<::topic_tools::ShapeShifter const>& event);
virtual void cb(const ::ros::MessageEvent<::topic_tools::ShapeShifter const > &event)
Callback for counting the messages.
Nodelet for counting messages and their size.
::std::mutex mutex
Mutex protecting count and bytes.
size_t bytes
Byte size of the received messages.
virtual void resetCb(const ::ros::MessageEvent<::topic_tools::ShapeShifter const > &)
Called when the counter should be reset. The incoming message can be of any type and should not be ex...
::ros::Subscriber sub
The message subscriber.
size_t count
Number of received messages.
::ros::Subscriber resetSub
The reset message subscriber.