A subscriber to a topic. More...
#include <Subscriber.hh>
Public Member Functions | |
| Subscriber (const std::string &topic, NodePtr _node) | |
| Constructor. | |
| virtual | ~Subscriber () |
| Destructor. | |
| std::string | GetTopic () const |
| Get the topic name. | |
| void | Unsubscribe () const |
| Unsubscribe from the topic. | |
A subscriber to a topic.
| gazebo::transport::Subscriber::Subscriber | ( | const std::string & | topic, |
| NodePtr | _node | ||
| ) |
Constructor.
|
virtual |
Destructor.
| std::string gazebo::transport::Subscriber::GetTopic | ( | ) | const |
Get the topic name.
| void gazebo::transport::Subscriber::Unsubscribe | ( | ) | const |
Unsubscribe from the topic.