A subscriber to a topic. More...
#include <transport/transport.hh>
Public Member Functions | |
| Subscriber (const std::string &_topic, NodePtr _node) | |
| Constructor. More... | |
| virtual | ~Subscriber () |
| Destructor. More... | |
| unsigned int | GetCallbackId () const |
| std::string | GetTopic () const |
| Get the topic name. More... | |
| void | SetCallbackId (unsigned int _id) |
| void | Unsubscribe () const |
| Unsubscribe from the topic. More... | |
A subscriber to a topic.
| Subscriber | ( | const std::string & | _topic, |
| NodePtr | _node | ||
| ) |
Constructor.
| [in] | _topic | The topic we're subscribing to |
| [in] | _node | The associated node |
|
virtual |
Destructor.
| unsigned int GetCallbackId | ( | ) | const |
| std::string GetTopic | ( | ) | const |
Get the topic name.
| void SetCallbackId | ( | unsigned int | _id | ) |
| void Unsubscribe | ( | ) | const |
Unsubscribe from the topic.