![]() |
VR-Forces 4.0.4 Class Documentation
|
The MAK Stealth Application's command line processor. More...

Classes | |
| struct | BaseArgs |
| struct | DisArgs |
| struct | Hla13Args |
| struct | Hla1516Args |
| struct | Hla1516eArgs |
| struct | VrfGuiArgs |
Public Member Functions | |
| DtVrfGuiCommandLineParser () | |
| virtual | ~DtVrfGuiCommandLineParser () |
| virtual void | processCommandLine (makVrv::DtVrvApplicationConfiguration &appConfig, int argc, char **argv) |
| Parse the command line and modify the appConfig accordingly. | |
| virtual void | removeAutoStartDriver () |
| Delete the driver created to start. | |
| void | setAllowObserverModeFlags (bool) |
Protected Types | |
| typedef boost::function< void(std::vector < DtCmdLine::Arg * > &, makVrv::DtStealthCommandLineProcessor::StealthArgs &)> | DtAdditionalCommandsFcn |
Protected Member Functions | |
| virtual void | processArgs (makVrv::DtVrvApplicationConfiguration &appConfig, StealthArgs &args) |
| Modify the app configuration based on the passed-in command line arguments. | |
| virtual std::vector< Arg * > | createDefaultArguments (VrfGuiArgs &args) |
| virtual void | addArgumentParserAddition (const std::string &, DtAdditionalCommandsFcn fcn) |
| virtual void | createDriver (makVrv::DtVrvApplicationConfiguration &, const makVrv::DtConfiguration &, BaseArgs *, std::string &autoStarted) |
| Removes all existing drivers created by VR-Forces from the drivers path and creates a new driver. | |
| virtual std::string | createDriver (const makVrv::DtConfiguration &c, const std::string &driverName, const std::string &driverClass, std::string &fullName) |
| virtual std::string | createDriverFileName (const std::string &driverClass, const std::string &driverName) |
| virtual void | addHlaCommandArguments (std::vector< DtCmdLine::Arg * > &a, makVrv::DtStealthCommandLineProcessor::StealthArgs &args, Hla13Args *hlaArgs) |
| virtual void | bindObserverModes (const std::vector< std::string > &, makVrf::DtVrfGuiApplication::ObserverModeBindings &) const |
| Parses the observer modes binding line and places result in map. Format is Observer, Mode. | |
| virtual void | addDisCommandArguments (std::vector< DtCmdLine::Arg * > &, makVrv::DtStealthCommandLineProcessor::StealthArgs &) |
| virtual void | addHla13CommandArguments (std::vector< DtCmdLine::Arg * > &, makVrv::DtStealthCommandLineProcessor::StealthArgs &) |
| virtual void | addHla1516CommandArguments (std::vector< DtCmdLine::Arg * > &, makVrv::DtStealthCommandLineProcessor::StealthArgs &) |
| virtual void | addHla1516eCommandArguments (std::vector< DtCmdLine::Arg * > &, makVrv::DtStealthCommandLineProcessor::StealthArgs &) |
| virtual void | setupDefaultProtocolArguments (BaseArgs &) |
| virtual std::vector< std::string > | defaultObserverMode () const |
| Default observer mode in case of none. Plan_View is default. | |
Protected Attributes | |
| std::map< std::string, DtAdditionalCommandsFcn > | myAdditionalCommands |
| std::string | myAutoStartDriver |
| bool | myAllowObserverModeFlags |
The MAK Stealth Application's command line processor.
typedef boost::function<void (std::vector<DtCmdLine::Arg*>&, makVrv::DtStealthCommandLineProcessor::StealthArgs&)> makVrf::DtVrfGuiCommandLineParser::DtAdditionalCommandsFcn [protected] |
| virtual makVrf::DtVrfGuiCommandLineParser::~DtVrfGuiCommandLineParser | ( | ) | [virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::processCommandLine | ( | makVrv::DtVrvApplicationConfiguration & | appConfig, |
| int | argc, | ||
| char ** | argv | ||
| ) | [virtual] |
Parse the command line and modify the appConfig accordingly.
Reimplemented from makVrv::DtStealthCommandLineProcessor.
| virtual void makVrf::DtVrfGuiCommandLineParser::removeAutoStartDriver | ( | ) | [virtual] |
Delete the driver created to start.
| virtual void makVrf::DtVrfGuiCommandLineParser::processArgs | ( | makVrv::DtVrvApplicationConfiguration & | appConfig, |
| StealthArgs & | args | ||
| ) | [protected, virtual] |
Modify the app configuration based on the passed-in command line arguments.
Reimplemented from makVrv::DtStealthCommandLineProcessor.
| virtual std::vector<Arg*> makVrf::DtVrfGuiCommandLineParser::createDefaultArguments | ( | VrfGuiArgs & | args | ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::addArgumentParserAddition | ( | const std::string & | , |
| DtAdditionalCommandsFcn | fcn | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::createDriver | ( | makVrv::DtVrvApplicationConfiguration & | , |
| const makVrv::DtConfiguration & | , | ||
| BaseArgs * | , | ||
| std::string & | autoStarted | ||
| ) | [protected, virtual] |
Removes all existing drivers created by VR-Forces from the drivers path and creates a new driver.
| virtual std::string makVrf::DtVrfGuiCommandLineParser::createDriver | ( | const makVrv::DtConfiguration & | c, |
| const std::string & | driverName, | ||
| const std::string & | driverClass, | ||
| std::string & | fullName | ||
| ) | [protected, virtual] |
| virtual std::string makVrf::DtVrfGuiCommandLineParser::createDriverFileName | ( | const std::string & | driverClass, |
| const std::string & | driverName | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::addHlaCommandArguments | ( | std::vector< DtCmdLine::Arg * > & | a, |
| makVrv::DtStealthCommandLineProcessor::StealthArgs & | args, | ||
| Hla13Args * | hlaArgs | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::bindObserverModes | ( | const std::vector< std::string > & | , |
| makVrf::DtVrfGuiApplication::ObserverModeBindings & | |||
| ) | const [protected, virtual] |
Parses the observer modes binding line and places result in map. Format is Observer, Mode.
| virtual void makVrf::DtVrfGuiCommandLineParser::addDisCommandArguments | ( | std::vector< DtCmdLine::Arg * > & | , |
| makVrv::DtStealthCommandLineProcessor::StealthArgs & | |||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::addHla13CommandArguments | ( | std::vector< DtCmdLine::Arg * > & | , |
| makVrv::DtStealthCommandLineProcessor::StealthArgs & | |||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::addHla1516CommandArguments | ( | std::vector< DtCmdLine::Arg * > & | , |
| makVrv::DtStealthCommandLineProcessor::StealthArgs & | |||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::addHla1516eCommandArguments | ( | std::vector< DtCmdLine::Arg * > & | , |
| makVrv::DtStealthCommandLineProcessor::StealthArgs & | |||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfGuiCommandLineParser::setupDefaultProtocolArguments | ( | BaseArgs & | ) | [protected, virtual] |
| virtual std::vector<std::string> makVrf::DtVrfGuiCommandLineParser::defaultObserverMode | ( | ) | const [protected, virtual] |
Default observer mode in case of none. Plan_View is default.
std::map<std::string, DtAdditionalCommandsFcn> makVrf::DtVrfGuiCommandLineParser::myAdditionalCommands [protected] |
std::string makVrf::DtVrfGuiCommandLineParser::myAutoStartDriver [protected] |