#include <imagezero_publisher.h>
Public Member Functions | |
virtual std::string | getTransportName () const |
ImageZeroPublisher () | |
virtual | ~ImageZeroPublisher () |
Protected Member Functions | |
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 |
ROS image_transport publisher plugin that will convert sensor_msgs::Image messages to sensor_msgs::CompressedImage messages.
Definition at line 40 of file imagezero_publisher.h.
Definition at line 35 of file imagezero_publisher.cpp.
virtual imagezero_image_transport::ImageZeroPublisher::~ImageZeroPublisher | ( | ) | [inline, virtual] |
Definition at line 45 of file imagezero_publisher.h.
void imagezero_image_transport::ImageZeroPublisher::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 | ||
) | [protected, virtual] |
Reimplemented from image_transport::SimplePublisherPlugin< sensor_msgs::CompressedImage >.
Definition at line 40 of file imagezero_publisher.cpp.
virtual std::string imagezero_image_transport::ImageZeroPublisher::getTransportName | ( | ) | const [inline, virtual] |
Implements image_transport::PublisherPlugin.
Definition at line 48 of file imagezero_publisher.h.
void imagezero_image_transport::ImageZeroPublisher::publish | ( | const sensor_msgs::Image & | message, |
const PublishFn & | publish_fn | ||
) | const [protected, virtual] |
Implements image_transport::SimplePublisherPlugin< sensor_msgs::CompressedImage >.
Definition at line 49 of file imagezero_publisher.cpp.