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 |
MVC Controller for AirframeComponent.qml.
Definition at line 9 of file AirframeComponentAirframes.h.
|
static |
Definition at line 118 of file AirframeComponentAirframes.cc.
References get(), AirframeComponentAirframes::AirframeType_t::rgAirframeInfo, and rgAirframeTypes.
|
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().
|
static |
Definition at line 8 of file AirframeComponentAirframes.cc.
References AirframeComponentAirframes::AirframeInfo_t::autostartId, AirframeComponentAirframes::AirframeType_t::imageResource, AirframeComponentAirframes::AirframeInfo_t::name, AirframeComponentAirframes::AirframeType_t::name, AirframeComponentAirframes::AirframeType_t::rgAirframeInfo, and rgAirframeTypes.
Referenced by clear(), and PX4AirframeLoader::loadAirframeMetaData().
|
static |
Definition at line 73 of file AirframeComponentAirframes.cc.
References AirframeComponentAirframes::AirframeInfo_t::autostartId, AirframeComponentAirframes::AirframeType_t::category, AirframeComponentAirframes::AirframeType_t::imageResource, AirframeComponentAirframes::AirframeInfo_t::name, AirframeComponentAirframes::AirframeType_t::name, AirframeComponentAirframes::AirframeType_t::rgAirframeInfo, and rgAirframeTypes.
Referenced by PX4AirframeLoader::loadAirframeMetaData().
|
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().
|
staticprotected |
Definition at line 37 of file AirframeComponentAirframes.h.
Referenced by clear(), find(), get(), insert(), and sortedTypes().