The default SubscriberPlugin. More...
#include <raw_subscriber.h>
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) |
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.
virtual message_transport::RawSubscriber< M >::~RawSubscriber | ( | ) | [inline, virtual] |
Definition at line 18 of file raw_subscriber.h.
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.
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.
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.