QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCCommandLineParser.h File Reference
#include <optional>
#include <QtCore/QCommandLineParser>
#include <QtCore/QLoggingCategory>
#include <QtCore/QStringList>
+ Include dependency graph for QGCCommandLineParser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QGCCommandLineParser::CommandLineParseResult
 Result of parsing command-line arguments. More...
 

Namespaces

namespace  QGCCommandLineParser
 

Enumerations

enum class  QGCCommandLineParser::AppMode { QGCCommandLineParser::Gui , QGCCommandLineParser::BootTest }
 Application execution mode. More...
 

Functions

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.