Go to the documentation of this file.
21 #ifndef GAZEBO_TRANSPORT_SUBSCRIBER_HH_
22 #define GAZEBO_TRANSPORT_SUBSCRIBER_HH_
25 #include <boost/shared_ptr.hpp>
69 private: std::string topic;
75 private:
unsigned int callbackId;
Forward declarations for the common classes.
Definition: Animation.hh:27
void Unsubscribe() const
Unsubscribe from the topic.
A subscriber to a topic.
Definition: Subscriber.hh:40
unsigned int GetCallbackId() const
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
std::string GetTopic() const
Get the topic name.
Subscriber(const std::string &_topic, NodePtr _node)
Constructor.
void SetCallbackId(unsigned int _id)
transport
Definition: ConnectionManager.hh:35
virtual ~Subscriber()
Destructor.