35 #ifndef MESSAGE_FILTERS_PASSTHROUGH_H 36 #define MESSAGE_FILTERS_PASSTHROUGH_H 71 void add(
const MConstPtr& msg)
76 void add(
const EventType& evt)
82 void cb(
const EventType& evt)
92 #endif // MESSAGE_FILTERS_PASSTHROUGH_H void signalMessage(const MConstPtr &msg)
Call all registered callbacks, passing them the specified message.
void disconnect()
disconnects this connection
ros::MessageEvent< M const > EventType
Connection incoming_connection_
void cb(const EventType &evt)
Convenience base-class for simple filters which output a single message.
void add(const EventType &evt)
void add(const MConstPtr &msg)
boost::function< void(const EventType &)> EventCallback
boost::shared_ptr< M const > MConstPtr
Encapsulates a connection from one filter to another (or to a user-specified callback) ...
Simple passthrough filter. What comes in goes out immediately.