#include <TextView.hh>
Inherits TopicView.
|
void | AddMsg (QString _msg) |
| Signal to add a message to the GUI list. More...
|
|
|
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...
|
|
◆ TextView()
TextView |
( |
QWidget * |
_parent, |
|
|
const std::string & |
_msgType |
|
) |
| |
Constructor.
- Parameters
-
[in] | _msgType | Type of message to view. |
◆ ~TextView()
◆ AddMsg
void AddMsg |
( |
QString |
_msg | ) |
|
|
signal |
Signal to add a message to the GUI list.
- Parameters
-
[in] | _msg | Text message to add. |
◆ closeEvent()
virtual void closeEvent |
( |
QCloseEvent * |
_event | ) |
|
|
protectedvirtualinherited |
Qt close event callback.
- Parameters
-
[in] | _event | The close event info. |
◆ OnMsg()
Used by child class to indicate when a message has been received.
- Parameters
-
[in] | _dataTime | Time the data was created. This time should be the timestamp when data was generated on the server. |
[in] | _size | Size of the message in bytes. |
◆ SetTopic()
virtual void SetTopic |
( |
const std::string & |
_topicName | ) |
|
|
virtual |
Set the name of the topic to get data from.
- Parameters
-
[in] | _topicName | Name of the topic to use. |
Reimplemented from TopicView.
◆ frame
This is the frame that each child class should populate.
◆ msgTypeName
Typename of the messages that can be displayed.
◆ node
Pointer to the node for communication.
◆ sub
Pointer to the topic subscriber that receives display data.
The documentation for this class was generated from the following file: