#include <resized_publisher.h>
Public Member Functions | |
virtual std::string | getTransportName () const |
Get a string identifier for the transport provided by this plugin. | |
Protected Member Functions | |
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. |
Definition at line 4 of file resized_publisher.h.
virtual std::string ResizedPublisher::getTransportName | ( | ) | const [inline, virtual] |
Get a string identifier for the transport provided by this plugin.
Implements image_transport::PublisherPlugin.
Definition at line 7 of file resized_publisher.h.
void ResizedPublisher::publish | ( | const sensor_msgs::Image & | message, |
const PublishFn & | publish_fn | ||
) | const [protected, virtual] |
Publish an image using the specified publish function. Must be implemented by the subclass.
The PublishFn publishes the transport-specific message type. This indirection allows SimpleSubscriberPlugin to use this function for both normal broadcast publishing and single subscriber publishing (in subscription callbacks).
Implements image_transport::SimplePublisherPlugin< image_transport_tutorial::ResizedImage >.
Definition at line 5 of file resized_publisher.cpp.