43 : caller_id_(caller_id), topic_(topic),
44 num_subscribers_fn_(num_subscribers_fn),
45 publish_fn_(publish_fn)
SingleSubscriberPublisher(const std::string &caller_id, const std::string &topic, const GetNumSubscribersFn &num_subscribers_fn, const PublishFn &publish_fn)
void publish(const sensor_msgs::Image &message) const
boost::function< void(const sensor_msgs::Image &)> PublishFn
GetNumSubscribersFn num_subscribers_fn_
uint32_t getNumSubscribers() const
std::string getTopic() const
boost::function< uint32_t()> GetNumSubscribersFn
std::string getSubscriberName() const