|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <SafetyComponent.h>
Inheritance diagram for SafetyComponent:
Collaboration diagram for SafetyComponent:Public Member Functions | |
| SafetyComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr) | |
| QStringList | setupCompleteChangedTriggerList (void) const override |
| QString | name (void) const override |
| QString | description (void) const override |
| QString | iconResource (void) const override |
| bool | requiresSetup (void) const override |
| bool | setupComplete (void) const override |
| QUrl | setupSource (void) const override |
| QUrl | summaryQmlSource (void) const override |
| QString | vehicleConfigJson (void) const override |
| Resource path to a VehicleConfig.json page definition, or empty if none. | |
| bool | allowSetupWhileArmed (void) const override |
| bool | allowSetupWhileFlying (void) const override |
Public Member Functions inherited from VehicleComponent | |
| VehicleComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr) | |
| virtual | ~VehicleComponent () |
| virtual QStringList | sections () const |
| QVariantMap | sectionKeywords () const |
| Search keywords per section, keyed by section title. Values are original-case translatable terms. | |
| virtual bool | showFirstSectionOnRootClick () const |
| When true, clicking the root component in the tree selects the first section instead of showing all. | |
| virtual Q_INVOKABLE bool | sectionSetupComplete (const QString §ionName) const |
| Returns setup-complete status for a named section. Default returns true (no per-section tracking). | |
| virtual void | addSummaryQmlComponent (QQmlContext *context, QQuickItem *parent) |
| virtual void | setupTriggerSignals () |
| AutoPilotPlugin::KnownVehicleComponent | KnownVehicleComponent () const |
Additional Inherited Members | |
Signals inherited from VehicleComponent | |
| void | setupCompleteChanged () |
| void | setupSourceChanged () |
| void | sectionsChanged () |
Protected Slots inherited from VehicleComponent | |
| void | _triggerUpdated (QVariant) |
Protected Attributes inherited from VehicleComponent | |
| Vehicle * | _vehicle = nullptr |
| AutoPilotPlugin * | _autopilot = nullptr |
| AutoPilotPlugin::KnownVehicleComponent | _KnownVehicleComponent |
Definition at line 5 of file SafetyComponent.h.
| SafetyComponent::SafetyComponent | ( | Vehicle * | vehicle, |
| AutoPilotPlugin * | autopilot, | ||
| QObject * | parent = nullptr |
||
| ) |
Definition at line 3 of file SafetyComponent.cc.
|
inlineoverridevirtual |
Reimplemented from VehicleComponent.
Definition at line 24 of file SafetyComponent.h.
|
inlineoverridevirtual |
Reimplemented from VehicleComponent.
Definition at line 25 of file SafetyComponent.h.
|
overridevirtual |
Reimplemented from VehicleComponent.
Definition at line 14 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 19 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 9 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 24 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 29 of file SafetyComponent.cc.
|
overridevirtual |
Returns an list of parameter names for which a change should cause the setupCompleteChanged signal to be emitted.
Implements VehicleComponent.
Definition at line 35 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 40 of file SafetyComponent.cc.
|
overridevirtual |
Implements VehicleComponent.
Definition at line 46 of file SafetyComponent.cc.
|
overridevirtual |
Resource path to a VehicleConfig.json page definition, or empty if none.
Reimplemented from VehicleComponent.
Definition at line 51 of file SafetyComponent.cc.