QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4AirframeLoader.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QObject>
4#include <QtCore/QMap>
6
7class FactMetaData;
8
10
11class PX4AirframeLoader : QObject
12{
13 Q_OBJECT
14
15public:
17 PX4AirframeLoader(AutoPilotPlugin* autpilot, QObject* parent = nullptr);
18
19 static void loadAirframeMetaData(void);
20
22 static QString aiframeMetaDataFile(void);
23
24private:
25 enum {
26 XmlStateNone,
27 XmlStateFoundAirframes,
28 XmlStateFoundVersion,
29 XmlStateFoundGroup,
30 XmlStateFoundAirframe,
31 XmlStateDone
32 };
33
34 static bool _airframeMetaDataLoaded;
35 static QMap<QString, FactMetaData*> _mapParameterName2FactMetaData;
36};
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
Holds the meta data associated with a Fact.
Collection of Parameter Facts for PX4 AutoPilot.
static void loadAirframeMetaData(void)
static QString aiframeMetaDataFile(void)