Go to the documentation of this file.
21 #ifndef INCLUDE_FKIE_MESSAGE_FILTERS_PUBLISHER_BASE_H_
22 #define INCLUDE_FKIE_MESSAGE_FILTERS_PUBLISHER_BASE_H_
24 #include <boost/signals2.hpp>
56 virtual std::string
topic()
const = 0;
boost::signals2::signal< void()> disable_signal_
boost::signals2::signal< void()> enable_signal_
virtual std::string topic() const =0
Return advertised topic name.
void update_subscriber_state()
Cause all linked subscribers to subscribe or unsubscribe to their ROS topics.
friend class SubscriberBase
std::tuple< boost::signals2::connection, boost::signals2::connection > link_with_subscriber(SubscriberBase &sub)
Add a new subscriber that will be controlled by this publisher.
Base class for ROS subscribers in a filter pipeline.
virtual bool is_active() const =0
Check if the publisher is active.