QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
WaitForSignalState.cc
Go to the documentation of this file.
3
5{
6 if (_connectFunc) {
7 _connectFunc();
8 }
9}
10
12{
13 if (_signalConnection) {
14 disconnect(_signalConnection);
15 _signalConnection = {};
16 }
17}
18
19void WaitForSignalState::_onSignalReceived()
20{
21 qCDebug(QGCStateMachineLog) << "Signal received" << stateName();
23}
QString stateName() const
void disconnectWaitSignal() override
Subclasses override to tear down their signal connections.
void connectWaitSignal() override
Subclasses override to set up their signal connections.