QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ShowAppMessageState.cc
Go to the documentation of this file.
2#include "QGCApplication.h"
3
4ShowAppMessageState::ShowAppMessageState(QState* parentState, const QString& appMessage)
5 : QGCState("ShowAppMessageState", parentState)
6 , _appMessage(appMessage)
7{
8 connect(this, &QState::entered, this, [this] () {
9 qCDebug(QGCStateMachineLog) << _appMessage << stateName();
10 qgcApp()->showAppMessage(_appMessage);
11 emit advance();
12 });
13}
#define qgcApp()
QString stateName() const
ShowAppMessageState(QState *parentState, const QString &appMessage)