Public Member Functions | Protected Member Functions
message_transport::RawPublisher< M > Class Template Reference

The default PublisherPlugin. More...

#include <raw_publisher.h>

Inheritance diagram for message_transport::RawPublisher< M >:
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.
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

Detailed Description

template<class M>
class message_transport::RawPublisher< M >

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.


Constructor & Destructor Documentation

template<class M >
virtual message_transport::RawPublisher< M >::~RawPublisher ( ) [inline, virtual]

Definition at line 18 of file raw_publisher.h.


Member Function Documentation

template<class M >
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.

template<class M >
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.

template<class M >
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.


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


message_transport_common
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:48:49