|
QGroundControl
Ground Control Station for MAVLink Drones
|
Custom event for QGCStateMachine delayed/scheduled events. More...
#include <QGCStateMachineEvent.h>
Inheritance diagram for QGCStateMachineEvent:
Collaboration diagram for QGCStateMachineEvent:Public Member Functions | |
| QGCStateMachineEvent (const QString &name, const QVariant &data=QVariant()) | |
| QString | name () const |
| QVariant | data () const |
Static Public Attributes | |
| static const QEvent::Type | EventType = static_cast<QEvent::Type>(QEvent::registerEventType()) |
Custom event for QGCStateMachine delayed/scheduled events.
Definition at line 8 of file QGCStateMachineEvent.h.
|
explicit |
Create a named event with optional data
| name | Event name for identification |
| data | Optional payload data |
Definition at line 5 of file QGCStateMachineEvent.cc.
|
inline |
Definition at line 19 of file QGCStateMachineEvent.h.
|
inline |
Definition at line 18 of file QGCStateMachineEvent.h.
|
static |
Definition at line 11 of file QGCStateMachineEvent.h.
Referenced by MachineEventTransition::eventTest(), and NamedEventTransition::eventTest().