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

#include <ActuatorComponent.h>

+ Inheritance diagram for ActuatorComponent:
+ Collaboration diagram for ActuatorComponent:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ActuatorComponent()

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

Member Function Documentation

◆ description()

QString ActuatorComponent::description ( void  ) const
finalvirtual

Reimplemented from VehicleComponent.

Definition at line 31 of file ActuatorComponent.cc.

◆ iconResource()

QString ActuatorComponent::iconResource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 36 of file ActuatorComponent.cc.

◆ name()

QString ActuatorComponent::name ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 26 of file ActuatorComponent.cc.

◆ requiresSetup()

bool ActuatorComponent::requiresSetup ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 41 of file ActuatorComponent.cc.

◆ setupComplete()

bool ActuatorComponent::setupComplete ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 46 of file ActuatorComponent.cc.

References Actuators::hasUnsetRequiredFunctions().

◆ setupCompleteChangedTriggerList()

QStringList ActuatorComponent::setupCompleteChangedTriggerList ( void  ) 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 51 of file ActuatorComponent.cc.

◆ setupSource()

QUrl ActuatorComponent::setupSource ( void  ) const
virtual

Implements VehicleComponent.

Definition at line 56 of file ActuatorComponent.cc.

◆ summaryQmlSource()

QUrl ActuatorComponent::summaryQmlSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 61 of file ActuatorComponent.cc.


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