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

#include <APMMotorComponent.h>

+ Inheritance diagram for APMMotorComponent:
+ Collaboration diagram for APMMotorComponent:

Public Member Functions

 APMMotorComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
 
QUrl setupSource () const final
 
bool allowSetupWhileArmed () const final
 
- Public Member Functions inherited from MotorComponent
 MotorComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
 
QStringList setupCompleteChangedTriggerList () const override
 
QString name () const override
 
QString description () const override
 
QString iconResource () const override
 
bool requiresSetup () const override
 
bool setupComplete () const override
 
QUrl setupSource () const override
 
QUrl summaryQmlSource () const override
 
- 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 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 APMMotorComponent.h.

Constructor & Destructor Documentation

◆ APMMotorComponent()

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

Definition at line 4 of file APMMotorComponent.cc.

Member Function Documentation

◆ allowSetupWhileArmed()

bool APMMotorComponent::allowSetupWhileArmed ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 13 of file APMMotorComponent.h.

◆ setupSource()

QUrl APMMotorComponent::setupSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 10 of file APMMotorComponent.cc.

References VehicleComponent::_vehicle, and Vehicle::vehicleType().


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