QGroundControl specific state machine with enhanced error handling.
More...
#include <QGCStateMachine.h>
|
| void | start () |
| | Start the state machine with debug logging.
|
| |
|
| virtual void | onEnter () |
| | Override to perform actions when machine starts.
|
| |
| virtual void | onLeave () |
| | Override to perform actions when machine stops.
|
| |
| void | onEntry (QEvent *event) override |
| |
| void | onExit (QEvent *event) override |
| |
| bool | event (QEvent *event) override |
| |
QGroundControl specific state machine with enhanced error handling.
Definition at line 60 of file QGCStateMachine.h.
◆ currentStateNameChanged
| void QGCStateMachine::currentStateNameChanged |
( |
| ) |
|
|
signal |
Emitted when the current state changes (for QML binding)
◆ error
| void QGCStateMachine::error |
( |
| ) |
|
|
signal |
◆ event()
| bool QGCStateMachine::event |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ machineEvent
| void QGCStateMachine::machineEvent |
( |
const QString & |
eventName | ) |
|
|
signal |
◆ onEnter()
| virtual void QGCStateMachine::onEnter |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ onEntry()
| void QGCStateMachine::onEntry |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ onExit()
| void QGCStateMachine::onExit |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ onLeave()
| virtual void QGCStateMachine::onLeave |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ progressUpdate
| void QGCStateMachine::progressUpdate |
( |
float |
progress | ) |
|
|
signal |
Emitted when progress changes (if progress tracking is enabled)
- Parameters
-
| progress | Overall progress from 0.0 to 1.0 |
◆ runningChanged
| void QGCStateMachine::runningChanged |
( |
| ) |
|
|
signal |
Emitted when the running state changes (for QML binding)
◆ start
| void QGCStateMachine::start |
( |
| ) |
|
|
slot |
◆ stateHistoryChanged
| void QGCStateMachine::stateHistoryChanged |
( |
| ) |
|
|
signal |
Emitted when the state history changes (for QML binding)
The documentation for this class was generated from the following files: