18 #ifndef UPDATE_FILTER_H 19 #define UPDATE_FILTER_H 67 void cb(
const EventType& evt)
87 #endif // UPDATE_FILTER_H ros::MessageEvent< M const > EventType
void signalMessage(const MConstPtr &msg)
void cb(const EventType &evt)
Filters consecutive messages with the same timestamp. Only the first message passes, all consecutive are dropped. It is templated on the message type to be filtered.
void connectInput(F &f)
Connect to the output of another filter.
ros::Time last_message_time_
boost::function< void(const EventType &)> EventCallback
boost::shared_ptr< M const > MConstPtr
UpdateFilter(F &f)
Construct the filter and connect to the output of another filter.
Connection incoming_connection_
boost::shared_ptr< M > getMessage() const