|
QGroundControl
Ground Control Station for MAVLink Drones
|
Classes | |
| struct | CommandLineParseResult |
| Result of parsing command-line arguments. More... | |
Enumerations | |
| enum class | AppMode { Gui , BootTest } |
| Application execution mode. More... | |
Functions | |
| CommandLineParseResult | parseCommandLine () |
| Parse command-line arguments (requires existing QCoreApplication) | |
| CommandLineParseResult | parse (int argc, char *argv[]) |
| Parse command-line arguments with automatic QCoreApplication management. | |
| std::optional< int > | handleParseResult (const CommandLineParseResult &result) |
| Handle early exit conditions (help, version, error) | |
| AppMode | determineAppMode (const CommandLineParseResult &args) |
| Determine the application mode from parsed arguments. | |
|
strong |
Application execution mode.
| Enumerator | |
|---|---|
| Gui | Normal GUI application. |
| BootTest | Initialize and exit (for CI validation) |
Definition at line 81 of file QGCCommandLineParser.h.
| AppMode QGCCommandLineParser::determineAppMode | ( | const CommandLineParseResult & | args | ) |
Determine the application mode from parsed arguments.
| args | Parsed command line arguments |
Referenced by main().
| std::optional< int > QGCCommandLineParser::handleParseResult | ( | const CommandLineParseResult & | result | ) |
| CommandLineParseResult QGCCommandLineParser::parse | ( | int | argc, |
| char * | argv[] | ||
| ) |
| CommandLineParseResult QGCCommandLineParser::parseCommandLine | ( | ) |
Parse command-line arguments (requires existing QCoreApplication)