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

A widget that provides a list of topics to select from. More...

#include <gui/TopicSelector.hh>

Inheritance diagram for gazebo::gui::TopicSelector:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::TopicSelector:
Collaboration graph
[legend]

Public Member Functions

 TopicSelector (QWidget *_parent=0)
 Constructor. More...
 
virtual ~TopicSelector ()
 Destructor. More...
 
std::string GetMsgType () const
 Get the message type that was selected. More...
 
std::string GetTopic () const
 Get the topic that was selected. More...
 

Detailed Description

A widget that provides a list of topics to select from.

Constructor & Destructor Documentation

gazebo::gui::TopicSelector::TopicSelector ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent widget pointer.
virtual gazebo::gui::TopicSelector::~TopicSelector ( )
virtual

Destructor.

Member Function Documentation

std::string gazebo::gui::TopicSelector::GetMsgType ( ) const

Get the message type that was selected.

Returns
The selected topic's published message type.
std::string gazebo::gui::TopicSelector::GetTopic ( ) const

Get the topic that was selected.

Returns
The selected topic, which can be an empty string if no topic was selected.

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