Signals | Public Member Functions | List of all members
gazebo::gui::TextView Class Reference

#include <TextView.hh>

Inheritance diagram for gazebo::gui::TextView:
Inheritance graph


void AddMsg (QString _msg)
 Signal to add a message to the GUI list. More...

Public Member Functions

 TextView (QWidget *_parent, const std::string &_msgType)
 Constructor. More...
virtual ~TextView ()
 Destructor. More...
virtual void SetTopic (const std::string &_topicName)
 Set the name of the topic to get data from. More...
- Public Member Functions inherited from gazebo::gui::TopicView
 TopicView (QWidget *_parent, const std::string &_msgType, const std::string &_viewType, unsigned int _displayPeriod=500)
 Constructor. More...
virtual ~TopicView ()
 Destructor. More...

Additional Inherited Members

- Protected Member Functions inherited from gazebo::gui::TopicView
virtual void closeEvent (QCloseEvent *_event)
 Qt close event callback. More...
void OnMsg (const common::Time &_dataTime, int _size)
 Used by child class to indicate when a message has been received. More...
- Protected Attributes inherited from gazebo::gui::TopicView
QFrame * frame
 This is the frame that each child class should populate. More...
std::string msgTypeName
 Typename of the messages that can be displayed. More...
transport::NodePtr node
 Pointer to the node for communication. More...
transport::SubscriberPtr sub
 Pointer to the topic subscriber that receives display data. More...

Constructor & Destructor Documentation

gazebo::gui::TextView::TextView ( QWidget *  _parent,
const std::string &  _msgType 


[in]_msgTypeType of message to view.
virtual gazebo::gui::TextView::~TextView ( )


Member Function Documentation

void gazebo::gui::TextView::AddMsg ( QString  _msg)

Signal to add a message to the GUI list.

[in]_msgText message to add.
virtual void gazebo::gui::TextView::SetTopic ( const std::string &  _topicName)

Set the name of the topic to get data from.

[in]_topicNameName of the topic to use.

Reimplemented from gazebo::gui::TopicView.

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