QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
AirframeComponent Class Reference

#include <AirframeComponent.h>

+ Inheritance diagram for AirframeComponent:
+ Collaboration diagram for AirframeComponent:

Public Member Functions

 AirframeComponent (Vehicle *vehicles, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
 
virtual QStringList setupCompleteChangedTriggerList (void) const
 
virtual QString name (void) const
 
virtual QString description (void) const
 
virtual QString iconResource (void) const
 
virtual bool requiresSetup (void) const
 
virtual bool setupComplete (void) const
 
virtual QUrl setupSource (void) const
 
virtual QUrl summaryQmlSource (void) const
 
- Public Member Functions inherited from VehicleComponent
 VehicleComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr)
 
virtual ~VehicleComponent ()
 
virtual QString vehicleConfigJson () const
 Resource path to a VehicleConfig.json page definition, or empty if none.
 
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 &sectionName) const
 Returns setup-complete status for a named section. Default returns true (no per-section tracking).
 
virtual bool allowSetupWhileArmed () const
 
virtual bool allowSetupWhileFlying () const
 
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
 

Detailed Description

Definition at line 5 of file AirframeComponent.h.

Constructor & Destructor Documentation

◆ AirframeComponent()

AirframeComponent::AirframeComponent ( Vehicle vehicles,
AutoPilotPlugin autopilot,
QObject *  parent = nullptr 
)

Definition at line 5 of file AirframeComponent.cc.

Member Function Documentation

◆ description()

QString AirframeComponent::description ( void  ) const
virtual

Reimplemented from VehicleComponent.

Definition at line 17 of file AirframeComponent.cc.

◆ iconResource()

QString AirframeComponent::iconResource ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 22 of file AirframeComponent.cc.

◆ name()

QString AirframeComponent::name ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 12 of file AirframeComponent.cc.

Referenced by PX4AutoPilotPlugin::prerequisiteSetup().

◆ requiresSetup()

bool AirframeComponent::requiresSetup ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 27 of file AirframeComponent.cc.

◆ setupComplete()

bool AirframeComponent::setupComplete ( void  ) const
virtual

◆ setupCompleteChangedTriggerList()

QStringList AirframeComponent::setupCompleteChangedTriggerList ( void  ) const
virtual

Returns an list of parameter names for which a change should cause the setupCompleteChanged signal to be emitted.

Implements VehicleComponent.

Definition at line 37 of file AirframeComponent.cc.

◆ setupSource()

QUrl AirframeComponent::setupSource ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 42 of file AirframeComponent.cc.

◆ summaryQmlSource()

QUrl AirframeComponent::summaryQmlSource ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 47 of file AirframeComponent.cc.


The documentation for this class was generated from the following files: