|
QGroundControl
Ground Control Station for MAVLink Drones
|
Maintains a list of MissionCommandUIInfo objects loaded from a json file. More...
#include <MissionCommandList.h>
Inheritance diagram for MissionCommandList:
Collaboration diagram for MissionCommandList:Public Member Functions | |
| MissionCommandList (const QString &jsonFilename, bool baseCommandList, QObject *parent=nullptr) | |
| QStringList & | categories (void) |
| Returns list of categories in this list. | |
| MissionCommandUIInfo * | getUIInfo (MAV_CMD command) const |
| Returns the ui info for specified command, NULL if command not found. | |
| const QList< MAV_CMD > & | commandIds (void) const |
Static Public Attributes | |
| static constexpr const char * | qgcFileType = "MavCmdInfo" |
Maintains a list of MissionCommandUIInfo objects loaded from a json file.
Definition at line 12 of file MissionCommandList.h.
| MissionCommandList::MissionCommandList | ( | const QString & | jsonFilename, |
| bool | baseCommandList, | ||
| QObject * | parent = nullptr |
||
| ) |
| baseCommandList | true: bottomost level of mission command hierarchy (partial spec allowed), false: override level of hierarchy |
Definition at line 8 of file MissionCommandList.cc.
|
inline |
Returns list of categories in this list.
Definition at line 21 of file MissionCommandList.h.
|
inline |
Definition at line 26 of file MissionCommandList.h.
| MissionCommandUIInfo * MissionCommandList::getUIInfo | ( | MAV_CMD | command | ) | const |
Returns the ui info for specified command, NULL if command not found.
Definition at line 68 of file MissionCommandList.cc.
Referenced by MissionCommandTree::friendlyName(), MissionCommandTree::isLandCommand(), MissionCommandTree::isTakeoffCommand(), and MissionCommandTree::rawName().
|
staticconstexpr |
Definition at line 28 of file MissionCommandList.h.
Referenced by JsonHelper::_addDefaultLocKeys().