20 #ifndef INCLUDE_FKIE_MESSAGE_FILTERS_SUBSCRIBER_H_
21 #define INCLUDE_FKIE_MESSAGE_FILTERS_SUBSCRIBER_H_
53 template<
class M,
template<
typename>
class Translate = RosMessageEvent>
54 class Subscriber :
public SubscriberBase,
public Source<typename Translate<M>::FilterType>
76 Subscriber(
ros::NodeHandle& nh, const
std::
string&
topic, uint32_t queue_size, const
ros::TransportHints& transport_hints =
ros::TransportHints(),
ros::CallbackQueueInterface* callback_queue =
nullptr) noexcept;
90 void set_subscribe_options (
ros::NodeHandle& nh, const
std::
string&
topic, uint32_t queue_size, const
ros::TransportHints& transport_hints =
ros::TransportHints(),
ros::CallbackQueueInterface* callback_queue =
nullptr) noexcept;
103 void subscribe (
ros::NodeHandle& nh, const
std::
string&
topic, uint32_t queue_size, const
ros::TransportHints& transport_hints =
ros::TransportHints(),
ros::CallbackQueueInterface* callback_queue =
nullptr) noexcept;
107 virtual
std::
string topic() const noexcept override;
135 #include "subscriber_impl.h"