TopicSelector Class Reference

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

#include <gui/TopicSelector.hh>

Inherits QDialog.

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

TopicSelector ( QWidget *  _parent = 0)

Constructor.

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

Destructor.

Member Function Documentation

std::string GetMsgType ( ) const

Get the message type that was selected.

Returns
The selected topic's published message type.
std::string 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: