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;
transport
Definition: ConnectionManager.hh:35
A subscriber to a topic.
Definition: Subscriber.hh:40
void SetCallbackId(unsigned int _id)
unsigned int GetCallbackId() const
virtual ~Subscriber()
Destructor.
void Unsubscribe() const
Unsubscribe from the topic.
Subscriber(const std::string &_topic, NodePtr _node)
Constructor.
std::string GetTopic() const
Get the topic name.
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Forward declarations for the common classes.
Definition: Animation.hh:27