|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QGCHistoryState.h>
Inheritance diagram for QGCHistoryState:
Collaboration diagram for QGCHistoryState:Public Member Functions | |
| QGCHistoryState (const QString &stateName, QState *parent, HistoryType historyType=ShallowHistory) | |
| QGCStateMachine * | machine () const |
| Vehicle * | vehicle () const |
| QString | stateName () const |
QGroundControl wrapper around QHistoryState for consistency with other QGC state classes History states remember which child state was active and return to it
Definition at line 13 of file QGCHistoryState.h.
| QGCHistoryState::QGCHistoryState | ( | const QString & | stateName, |
| QState * | parent, | ||
| HistoryType | historyType = ShallowHistory |
||
| ) |
| stateName | Name for this state (for logging) |
| parent | Parent state |
| historyType | ShallowHistory (default) remembers immediate child, DeepHistory remembers entire nested configuration |
Definition at line 4 of file QGCHistoryState.cc.
References stateName().
| QGCStateMachine * QGCHistoryState::machine | ( | ) | const |
Definition at line 17 of file QGCHistoryState.cc.
Referenced by stateName(), and vehicle().
| QString QGCHistoryState::stateName | ( | ) | const |
Definition at line 28 of file QGCHistoryState.cc.
References machine().
Referenced by QGCHistoryState().
| Vehicle * QGCHistoryState::vehicle | ( | ) | const |
Definition at line 22 of file QGCHistoryState.cc.
References machine().