2 #include <image_transport_tutorial/ResizedImage.h> 13 virtual void publish(
const sensor_msgs::Image& message,
virtual std::string getTransportName() const
Get a string identifier for the transport provided by this plugin.
boost::function< void(const image_transport_tutorial::ResizedImage &)> PublishFn
Generic function for publishing the internal message type.
virtual void publish(const sensor_msgs::Image &message, const PublishFn &publish_fn) const
Publish an image using the specified publish function. Must be implemented by the subclass...
Base class to simplify implementing most plugins to Publisher.