Public Member Functions | Protected Member Functions
ResizedPublisher Class Reference

#include <resized_publisher.h>

Inheritance diagram for ResizedPublisher:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 4 of file resized_publisher.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:


image_transport
Author(s): Patrick Mihelich
autogenerated on Thu Aug 27 2015 13:30:17