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

#include <SafetyComponent.h>

+ Inheritance diagram for SafetyComponent:
+ Collaboration diagram for SafetyComponent:

Public Member Functions

 SafetyComponent (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
 
bool allowSetupWhileFlying (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 SafetyComponent.h.

Constructor & Destructor Documentation

◆ SafetyComponent()

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

Definition at line 3 of file SafetyComponent.cc.

Member Function Documentation

◆ allowSetupWhileArmed()

bool SafetyComponent::allowSetupWhileArmed ( void  ) const
inlineoverridevirtual

Reimplemented from VehicleComponent.

Definition at line 23 of file SafetyComponent.h.

◆ allowSetupWhileFlying()

bool SafetyComponent::allowSetupWhileFlying ( void  ) const
inlineoverridevirtual

Reimplemented from VehicleComponent.

Definition at line 24 of file SafetyComponent.h.

◆ description()

QString SafetyComponent::description ( void  ) const
overridevirtual

Reimplemented from VehicleComponent.

Definition at line 14 of file SafetyComponent.cc.

◆ iconResource()

QString SafetyComponent::iconResource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 19 of file SafetyComponent.cc.

◆ name()

QString SafetyComponent::name ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 9 of file SafetyComponent.cc.

◆ requiresSetup()

bool SafetyComponent::requiresSetup ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 24 of file SafetyComponent.cc.

◆ setupComplete()

bool SafetyComponent::setupComplete ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 29 of file SafetyComponent.cc.

◆ setupCompleteChangedTriggerList()

QStringList SafetyComponent::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 35 of file SafetyComponent.cc.

◆ setupSource()

QUrl SafetyComponent::setupSource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 40 of file SafetyComponent.cc.

◆ summaryQmlSource()

QUrl SafetyComponent::summaryQmlSource ( void  ) const
overridevirtual

Implements VehicleComponent.

Definition at line 45 of file SafetyComponent.cc.


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