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

#include <PX4FlightBehavior.h>

+ Inheritance diagram for PX4FlightBehavior:
+ Collaboration diagram for PX4FlightBehavior:

Public Member Functions

 PX4FlightBehavior (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 PX4FlightBehavior.h.

Constructor & Destructor Documentation

◆ PX4FlightBehavior()

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

Definition at line 5 of file PX4FlightBehavior.cc.

Member Function Documentation

◆ allowSetupWhileArmed()

bool PX4FlightBehavior::allowSetupWhileArmed ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 23 of file PX4FlightBehavior.h.

◆ allowSetupWhileFlying()

bool PX4FlightBehavior::allowSetupWhileFlying ( void  ) const
inlinefinalvirtual

Reimplemented from VehicleComponent.

Definition at line 24 of file PX4FlightBehavior.h.

◆ description()

QString PX4FlightBehavior::description ( void  ) const
finalvirtual

Reimplemented from VehicleComponent.

Definition at line 16 of file PX4FlightBehavior.cc.

◆ iconResource()

QString PX4FlightBehavior::iconResource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 21 of file PX4FlightBehavior.cc.

◆ name()

QString PX4FlightBehavior::name ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 11 of file PX4FlightBehavior.cc.

◆ requiresSetup()

bool PX4FlightBehavior::requiresSetup ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 26 of file PX4FlightBehavior.cc.

◆ setupComplete()

bool PX4FlightBehavior::setupComplete ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 31 of file PX4FlightBehavior.cc.

◆ setupCompleteChangedTriggerList()

QStringList PX4FlightBehavior::setupCompleteChangedTriggerList ( ) 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 36 of file PX4FlightBehavior.cc.

◆ setupSource()

QUrl PX4FlightBehavior::setupSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 41 of file PX4FlightBehavior.cc.

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

◆ summaryQmlSource()

QUrl PX4FlightBehavior::summaryQmlSource ( void  ) const
finalvirtual

Implements VehicleComponent.

Definition at line 73 of file PX4FlightBehavior.cc.


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