|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <StatusTextHandler.h>
Inheritance diagram for StatusTextHandler:
Collaboration diagram for StatusTextHandler:Signals | |
| void | newFormattedMessage (QString message) |
| void | textMessageReceived (MAV_COMPONENT componentid, MAV_SEVERITY severity, QString text, QString description) |
| void | criticalMessageCountChanged () |
| void | newErrorMessage (QString message) |
Public Member Functions | |
| StatusTextHandler (QObject *parent=nullptr) | |
| ~StatusTextHandler () | |
| void | mavlinkMessageReceived (const mavlink_message_t &message) |
| void | handleHTMLEscapedTextMessage (MAV_COMPONENT componentid, MAV_SEVERITY severity, const QString &text, const QString &description) |
| void | clearMessages () |
| const QList< StatusText * > & | messages () const |
| QString | formattedMessages () const |
| uint32_t | criticalMessageCount () const |
Static Public Member Functions | |
| static QString | getMessageText (const mavlink_message_t &message) |
Definition at line 34 of file StatusTextHandler.h.
|
explicit |
Definition at line 32 of file StatusTextHandler.cc.
| StatusTextHandler::~StatusTextHandler | ( | ) |
Definition at line 43 of file StatusTextHandler.cc.
References clearMessages().
| void StatusTextHandler::clearMessages | ( | ) |
Definition at line 75 of file StatusTextHandler.cc.
References criticalMessageCountChanged().
Referenced by Vehicle::clearMessages(), and ~StatusTextHandler().
|
inline |
Definition at line 50 of file StatusTextHandler.h.
Referenced by Vehicle::criticalMessageCount().
|
signal |
Referenced by clearMessages(), and handleHTMLEscapedTextMessage().
| QString StatusTextHandler::formattedMessages | ( | ) | const |
Definition at line 65 of file StatusTextHandler.cc.
References messages().
Referenced by Vehicle::formattedMessages().
|
static |
Definition at line 50 of file StatusTextHandler.cc.
| void StatusTextHandler::handleHTMLEscapedTextMessage | ( | MAV_COMPONENT | componentid, |
| MAV_SEVERITY | severity, | ||
| const QString & | text, | ||
| const QString & | description | ||
| ) |
Definition at line 86 of file StatusTextHandler.cc.
References criticalMessageCountChanged(), StatusText::getText(), newErrorMessage(), newFormattedMessage(), StatusText::setFormatedText(), and StatusText::severityIsError().
| void StatusTextHandler::mavlinkMessageReceived | ( | const mavlink_message_t & | message | ) |
Definition at line 194 of file StatusTextHandler.cc.
|
inline |
Definition at line 47 of file StatusTextHandler.h.
Referenced by formattedMessages().
|
signal |
Referenced by handleHTMLEscapedTextMessage().
|
signal |
Referenced by handleHTMLEscapedTextMessage().
|
signal |