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

#include <APMSensorsComponent.h>

+ Inheritance diagram for APMSensorsComponent:
+ Collaboration diagram for APMSensorsComponent:

Public Member Functions

 APMSensorsComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
 
bool compassSetupNeeded () const
 
bool accelSetupNeeded () const
 
QStringList setupCompleteChangedTriggerList () const final
 
QString name () const final
 
QString description () const final
 
QString iconResource () const final
 
bool requiresSetup () const final
 
bool setupComplete () const final
 
QUrl setupSource () const final
 
QUrl summaryQmlSource () const final
 
- 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 APMSensorsComponent.h.

Constructor & Destructor Documentation

◆ APMSensorsComponent()

APMSensorsComponent::APMSensorsComponent ( Vehicle vehicle,
AutoPilotPlugin autopilot,
QObject *  parent = nullptr 
)
explicit

Definition at line 5 of file APMSensorsComponent.cc.

Member Function Documentation

◆ accelSetupNeeded()

◆ compassSetupNeeded()

◆ description()

QString APMSensorsComponent::description ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 18 of file APMSensorsComponent.h.

◆ iconResource()

QString APMSensorsComponent::iconResource ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 19 of file APMSensorsComponent.h.

◆ name()

QString APMSensorsComponent::name ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 17 of file APMSensorsComponent.h.

◆ requiresSetup()

bool APMSensorsComponent::requiresSetup ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 20 of file APMSensorsComponent.h.

◆ setupComplete()

bool APMSensorsComponent::setupComplete ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 21 of file APMSensorsComponent.h.

References accelSetupNeeded(), and compassSetupNeeded().

◆ setupCompleteChangedTriggerList()

QStringList APMSensorsComponent::setupCompleteChangedTriggerList ( ) const
finalvirtual

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

Implements VehicleComponent.

Definition at line 11 of file APMSensorsComponent.cc.

◆ setupSource()

QUrl APMSensorsComponent::setupSource ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 22 of file APMSensorsComponent.h.

◆ summaryQmlSource()

QUrl APMSensorsComponent::summaryQmlSource ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 23 of file APMSensorsComponent.h.


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