20 #ifndef INCLUDE_FKIE_MESSAGE_FILTERS_PUBLISHER_H_
21 #define INCLUDE_FKIE_MESSAGE_FILTERS_PUBLISHER_H_
50 template<
class M,
template<
typename>
class Translate = RosMessageEvent>
51 class Publisher :
public PublisherBase,
public Sink<typename Translate<M>::FilterType>
67 Publisher(
ros::NodeHandle& nh, const
std::
string&
topic, uint32_t queue_size,
bool latch = false,
ros::CallbackQueueInterface* callback_queue =
nullptr) noexcept;
72 virtual
bool is_active() const noexcept override;
77 virtual
std::
string topic() const noexcept override;
91 void advertise(
ros::NodeHandle& nh, const
std::
string&
topic, uint32_t queue_size,
bool latch = false,
ros::CallbackQueueInterface* callback_queue =
nullptr) noexcept;
112 virtual
void receive (const typename Translate<M>::FilterType& t) noexcept override;
119 #include "publisher_impl.h"