|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include "QGCCommandLineParser.h"#include "qgc_version.h"#include <QtCore/QCommandLineOption>#include <QtCore/QCoreApplication>#include "QGCLoggingCategory.h"
Include dependency graph for QGCCommandLineParser.cc:Go to the source code of this file.
Namespaces | |
| namespace | QGCCommandLineParser |
Functions | |
| static QStringList | QGCCommandLineParser::normalizeArgs (const QStringList &args) |
| Normalizes command-line arguments Converts colon-separated syntax (–option:value) to standard format (–option value) and handles special cases like –unittest without a value. | |
| CommandLineParseResult | QGCCommandLineParser::parseCommandLine () |
| Parse command-line arguments (requires existing QCoreApplication) | |
| CommandLineParseResult | QGCCommandLineParser::parse (int argc, char *argv[]) |
| Parse command-line arguments with automatic QCoreApplication management. | |
| std::optional< int > | QGCCommandLineParser::handleParseResult (const CommandLineParseResult &result) |
| Handle early exit conditions (help, version, error) | |
| AppMode | QGCCommandLineParser::determineAppMode (const CommandLineParseResult &args) |
| Determine the application mode from parsed arguments. | |