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

#include <APMSafetyComponent.h>

+ Inheritance diagram for APMSafetyComponent:
+ Collaboration diagram for APMSafetyComponent:

Public Member Functions

 APMSafetyComponent (Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
 
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
 
bool allowSetupWhileArmed () const final
 
bool allowSetupWhileFlying () const final
 

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 APMSafetyComponent.h.

Constructor & Destructor Documentation

◆ APMSafetyComponent()

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

Definition at line 5 of file APMSafetyComponent.cc.

Member Function Documentation

◆ allowSetupWhileArmed()

bool APMSafetyComponent::allowSetupWhileArmed ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 21 of file APMSafetyComponent.h.

◆ allowSetupWhileFlying()

bool APMSafetyComponent::allowSetupWhileFlying ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 22 of file APMSafetyComponent.h.

◆ description()

QString APMSafetyComponent::description ( void  ) const
finalvirtual

Reimplemented from VehicleComponent.

Definition at line 11 of file APMSafetyComponent.cc.

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

◆ iconResource()

QString APMSafetyComponent::iconResource ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 16 of file APMSafetyComponent.h.

◆ name()

QString APMSafetyComponent::name ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 14 of file APMSafetyComponent.h.

◆ requiresSetup()

bool APMSafetyComponent::requiresSetup ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 17 of file APMSafetyComponent.h.

◆ setupComplete()

bool APMSafetyComponent::setupComplete ( void  ) const
inlinefinalvirtual

Implements VehicleComponent.

Definition at line 18 of file APMSafetyComponent.h.

◆ setupCompleteChangedTriggerList()

QStringList APMSafetyComponent::setupCompleteChangedTriggerList ( ) const
inlinefinalvirtual

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

Implements VehicleComponent.

Definition at line 12 of file APMSafetyComponent.h.

◆ setupSource()

QUrl APMSafetyComponent::setupSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 29 of file APMSafetyComponent.cc.

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

◆ summaryQmlSource()

QUrl APMSafetyComponent::summaryQmlSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 48 of file APMSafetyComponent.cc.

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


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