All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::transport::Subscriber Class Reference

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.
 

Detailed Description

A subscriber to a topic.

Constructor & Destructor Documentation

gazebo::transport::Subscriber::Subscriber ( const std::string &  topic,
NodePtr  _node 
)

Constructor.

virtual gazebo::transport::Subscriber::~Subscriber ( )
virtual

Destructor.

Member Function Documentation

std::string gazebo::transport::Subscriber::GetTopic ( ) const

Get the topic name.

void gazebo::transport::Subscriber::Unsubscribe ( ) const

Unsubscribe from the topic.


The documentation for this class was generated from the following file: