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

The default SubscriberPlugin. More...

#include <raw_subscriber.h>

Inheritance diagram for message_transport::RawSubscriber< 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 ~RawSubscriber ()

Protected Member Functions

virtual std::string getTopicToSubscribe (const std::string &base_topic) const
 Return the communication topic name for a given base topic.
virtual void internalCallback (const typename M::ConstPtr &message, const typename SimpleSubscriberPlugin< M, M >::Callback &user_cb)

Detailed Description

template<class M>
class message_transport::RawSubscriber< M >

The default SubscriberPlugin.

RawSubscriber is a simple wrapper for ros::Subscriber which listens for Message messages and passes them through to the callback.

Definition at line 15 of file raw_subscriber.h.


Constructor & Destructor Documentation

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

Definition at line 18 of file raw_subscriber.h.


Member Function Documentation

template<class M >
virtual std::string message_transport::RawSubscriber< M >::getTopicToSubscribe ( 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::SimpleSubscriberPlugin< M, M >.

Definition at line 32 of file raw_subscriber.h.

template<class M >
virtual std::string message_transport::RawSubscriber< M >::getTransportName ( ) const [inline, virtual]

Get a string identifier for the transport provided by this plugin.

Implements message_transport::SubscriberPluginGen.

Definition at line 20 of file raw_subscriber.h.

template<class M >
virtual void message_transport::RawSubscriber< M >::internalCallback ( const typename M::ConstPtr &  message,
const typename SimpleSubscriberPlugin< M, M >::Callback user_cb 
) [inline, protected, virtual]

Definition at line 26 of file raw_subscriber.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