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

MVC Controller for AirframeComponent.qml. More...

#include <AirframeComponentAirframes.h>

Classes

struct  AirframeInfo_t
struct  AirframeType_t

Static Public Member Functions

static QMap< QString, AirframeComponentAirframes::AirframeType_t * > & get ()
static QList< AirframeType_t * > sortedTypes ()
static bool find (int autostartId, QString &typeName, QString &vehicleName)
 Type and vehicle name of the airframe with the autostart id. Returns false when there is no such airframe.
static void clear ()
static void insert (QString &group, QString &image, QString &name, int id, const QString &vehicleClass)

Static Protected Attributes

static QMap< QString, AirframeType_t * > rgAirframeTypes

Detailed Description

MVC Controller for AirframeComponent.qml.

Definition at line 9 of file AirframeComponentAirframes.h.

Member Function Documentation

◆ clear()

void AirframeComponentAirframes::clear ( )
static

◆ find()

bool AirframeComponentAirframes::find ( int autostartId,
QString & typeName,
QString & vehicleName )
static

Type and vehicle name of the airframe with the autostart id. Returns false when there is no such airframe.

Definition at line 58 of file AirframeComponentAirframes.cc.

References rgAirframeTypes.

Referenced by AirframeComponent::summaryItems().

◆ get()

◆ insert()

◆ sortedTypes()

QList< AirframeComponentAirframes::AirframeType_t * > AirframeComponentAirframes::sortedTypes ( )
static

Airframe types in display order: standard frames first, then the rest alphabetically by group name.

Definition at line 31 of file AirframeComponentAirframes.cc.

References rgAirframeTypes.

Referenced by AirframeComponentController::AirframeComponentController().

Member Data Documentation

◆ rgAirframeTypes

QMap< QString, AirframeComponentAirframes::AirframeType_t * > AirframeComponentAirframes::rgAirframeTypes
staticprotected

Definition at line 37 of file AirframeComponentAirframes.h.

Referenced by clear(), find(), get(), insert(), and sortedTypes().


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