43 void _onChildFinished();
QString stateName() const
bool event(QEvent *event) override
QGroundControl specific state machine with enhanced error handling.
QGCState(const QString &stateName, QState *parentState)
void childError()
Emitted when the child machine encounters an error.
void onEntry(QEvent *event) override
void onExit(QEvent *event) override
SubMachineState(const QString &stateName, QState *parent, MachineFactory factory)
QGCStateMachine * childMachine() const
Get the currently running child machine (nullptr if not running).
std::function< QGCStateMachine *(SubMachineState *parent)> MachineFactory