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

#include <PowerComponent.h>

+ Inheritance diagram for PowerComponent:
+ Collaboration diagram for PowerComponent:

Public Member Functions

 PowerComponent (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
 
bool allowSetupWhileArmed (void) const override
 

Additional Inherited Members

- Signals inherited from VehicleComponent
void setupCompleteChanged ()
 
void setupSourceChanged ()
 
- 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 PowerComponent.h.

Constructor & Destructor Documentation

◆ PowerComponent()

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

Definition at line 5 of file PowerComponent.cc.

Member Function Documentation

◆ allowSetupWhileArmed()

bool PowerComponent::allowSetupWhileArmed ( void  ) const
inlineoverridevirtual

Reimplemented from VehicleComponent.

Definition at line 23 of file PowerComponent.h.

◆ description()

QString PowerComponent::description ( void  ) const
overridevirtual

Reimplemented from VehicleComponent.

Definition at line 16 of file PowerComponent.cc.

◆ iconResource()

QString PowerComponent::iconResource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 21 of file PowerComponent.cc.

◆ name()

QString PowerComponent::name ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 11 of file PowerComponent.cc.

◆ requiresSetup()

bool PowerComponent::requiresSetup ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 26 of file PowerComponent.cc.

◆ setupComplete()

bool PowerComponent::setupComplete ( void  ) const
overridevirtual

◆ setupCompleteChangedTriggerList()

QStringList PowerComponent::setupCompleteChangedTriggerList ( void  ) const
overridevirtual

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

Implements VehicleComponent.

Definition at line 45 of file PowerComponent.cc.

◆ setupSource()

QUrl PowerComponent::setupSource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 50 of file PowerComponent.cc.

◆ summaryQmlSource()

QUrl PowerComponent::summaryQmlSource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 55 of file PowerComponent.cc.


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