5#include <QtCore/QObject>
6#include <QtCore/QString>
19 MissionCommandList(
const QString& jsonFilename,
bool baseCommandList, QObject* parent =
nullptr);
27 const QList<MAV_CMD>&
commandIds(
void)
const {
return _ids; }
32 void _loadMavCmdInfoJson(
const QString& jsonFilename,
bool baseCommandList);
34 QMap<MAV_CMD, MissionCommandUIInfo*> _infoMap;
36 QStringList _categories;
38 static constexpr const char* _versionJsonKey =
"version";
39 static constexpr const char* _mavCmdInfoJsonKey =
"mavCmdInfo";
Maintains a list of MissionCommandUIInfo objects loaded from a json file.
QStringList & categories(void)
Returns list of categories in this list.
const QList< MAV_CMD > & commandIds(void) const
MissionCommandUIInfo * getUIInfo(MAV_CMD command) const
Returns the ui info for specified command, NULL if command not found.
static constexpr const char * qgcFileType
UI Information associated with a mission command (MAV_CMD)