Public Member Functions
message_filters::SubscriberBase Class Reference

#include <subscriber.h>

Inheritance diagram for message_filters::SubscriberBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void subscribe (ros::NodeHandle &nh, const std::string &topic, uint32_t queue_size, const ros::TransportHints &transport_hints=ros::TransportHints(), ros::CallbackQueueInterface *callback_queue=0)=0
 Subscribe to a topic.
virtual void subscribe ()=0
 Re-subscribe to a topic. Only works if this subscriber has previously been subscribed to a topic.
virtual void unsubscribe ()=0
 Force immediate unsubscription of this subscriber from its topic.
virtual ~SubscriberBase ()

Detailed Description

Definition at line 48 of file subscriber.h.


Constructor & Destructor Documentation

virtual message_filters::SubscriberBase::~SubscriberBase ( ) [inline, virtual]

Definition at line 51 of file subscriber.h.


Member Function Documentation

virtual void message_filters::SubscriberBase::subscribe ( ros::NodeHandle nh,
const std::string &  topic,
uint32_t  queue_size,
const ros::TransportHints transport_hints = ros::TransportHints(),
ros::CallbackQueueInterface callback_queue = 0 
) [pure virtual]

Subscribe to a topic.

If this Subscriber is already subscribed to a topic, this function will first unsubscribe.

Parameters:
nhThe ros::NodeHandle to use to subscribe.
topicThe topic to subscribe to.
queue_sizeThe subscription queue size
transport_hintsThe transport hints to pass along
callback_queueThe callback queue to pass along

Implemented in message_filters::Subscriber< M >.

virtual void message_filters::SubscriberBase::subscribe ( ) [pure virtual]

Re-subscribe to a topic. Only works if this subscriber has previously been subscribed to a topic.

Implemented in message_filters::Subscriber< M >.

virtual void message_filters::SubscriberBase::unsubscribe ( ) [pure virtual]

Force immediate unsubscription of this subscriber from its topic.

Implemented in message_filters::Subscriber< M >.


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


message_filters
Author(s): Josh Faust, Vijay Pradeep
autogenerated on Tue Mar 7 2017 04:01:23