46 Base::advertiseImpl(nh, base_topic, queue_size, user_connect_cb, user_disconnect_cb, tracked_object, latch);
53 publish_fn(compressed);
boost::function< void(const SingleSubscriberPublisher &)> SubscriberStatusCallback
boost::function< void(const sensor_msgs::CompressedImage &)> PublishFn
virtual void advertiseImpl(ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, const image_transport::SubscriberStatusCallback &user_connect_cb, const image_transport::SubscriberStatusCallback &user_disconnect_cb, const ros::VoidPtr &tracked_object, bool latch)
virtual void publish(const sensor_msgs::Image &message, const PublishFn &publish_fn) const
sensor_msgs::CompressedImage compressImage(const sensor_msgs::Image &image)
const ros::NodeHandle & nh() const