The default PublisherPlugin. More...
#include <raw_publisher.h>
Public Member Functions | |
virtual std::string | getTransportName () const |
Get a string identifier for the transport provided by this plugin. | |
virtual | ~RawPublisher () |
Protected Member Functions | |
virtual std::string | getTopicToAdvertise (const std::string &base_topic) const |
Return the communication topic name for a given base topic. | |
virtual void | publish (const M &message, const typename SimplePublisherPlugin< M, M >::PublishFn &publish_fn) const |
The default PublisherPlugin.
RawPublisher is a simple wrapper for ros::Publisher, publishing unaltered Image messages on the base topic.
Definition at line 15 of file raw_publisher.h.
virtual message_transport::RawPublisher< M >::~RawPublisher | ( | ) | [inline, virtual] |
Definition at line 18 of file raw_publisher.h.
virtual std::string message_transport::RawPublisher< M >::getTopicToAdvertise | ( | const std::string & | base_topic | ) | const [inline, protected, virtual] |
Return the communication topic name for a given base topic.
Defaults to <base topic>/<transport name>.
Reimplemented from message_transport::SimplePublisherPlugin< M, M >.
Definition at line 32 of file raw_publisher.h.
virtual std::string message_transport::RawPublisher< M >::getTransportName | ( | ) | const [inline, virtual] |
Get a string identifier for the transport provided by this plugin.
Implements message_transport::PublisherPluginGen.
Definition at line 20 of file raw_publisher.h.
virtual void message_transport::RawPublisher< M >::publish | ( | const M & | message, |
const typename SimplePublisherPlugin< M, M >::PublishFn & | publish_fn | ||
) | const [inline, protected, virtual] |
Definition at line 26 of file raw_publisher.h.