QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCHistoryState.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtStateMachine/QHistoryState>
4#include <QtCore/QLoggingCategory>
5
6Q_DECLARE_LOGGING_CATEGORY(QGCStateMachineLog)
7
9class Vehicle;
10
13class QGCHistoryState : public QHistoryState
14{
15 Q_OBJECT
16 Q_DISABLE_COPY(QGCHistoryState)
17
18public:
23 QGCHistoryState(const QString& stateName, QState* parent, HistoryType historyType = ShallowHistory);
24
25 QGCStateMachine* machine() const;
26 Vehicle* vehicle() const;
27 QString stateName() const;
28};
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
Vehicle * vehicle() const
QString stateName() const
QGCStateMachine * machine() const
QGroundControl specific state machine with enhanced error handling.