21 #ifndef _SUBSCRIBER_HH_
22 #define _SUBSCRIBER_HH_
25 #include <boost/shared_ptr.hpp>
53 public:
void SetCallbackId(
unsigned int _id);
59 public:
unsigned int GetCallbackId()
const;
63 public: std::string GetTopic()
const;
66 public:
void Unsubscribe()
const;
69 private: std::string topic;
75 private:
unsigned int callbackId;
A subscriber to a topic.
Definition: Subscriber.hh:39
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
#define GZ_TRANSPORT_VISIBLE
Definition: system.hh:166