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
15class QGCHistoryState : public QHistoryState
16{
17 Q_OBJECT
18 Q_DISABLE_COPY(QGCHistoryState)
19
20public:
25 QGCHistoryState(const QString& stateName, QState* parent, HistoryType historyType = ShallowHistory);
26
27 QGCStateMachine* machine() const;
28 Vehicle* vehicle() const;
29 QString stateName() const;
30};
QGroundControl wrapper around QHistoryState for consistency with other QGC state classes.
Vehicle * vehicle() const
QString stateName() const
QGCStateMachine * machine() const
QGroundControl specific state machine with enhanced error handling.