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)
uint32_t getNumSubscribers() const
boost::function< void(const sensor_msgs::Image &)> PublishFn
GetNumSubscribersFn num_subscribers_fn_
std::string getSubscriberName() const
void publish(const sensor_msgs::Image &message) const
std::string getTopic() const
boost::function< uint32_t()> GetNumSubscribersFn