VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtVrfGuiCommandLineParser Class Reference

The MAK Stealth Application's command line processor. More...

Inheritance diagram for makVrf::DtVrfGuiCommandLineParser:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

The MAK Stealth Application's command line processor.


Member Typedef Documentation

typedef boost::function<void (std::vector<DtCmdLine::Arg*>&, makVrv::DtStealthCommandLineProcessor::StealthArgs&)> makVrf::DtVrfGuiCommandLineParser::DtAdditionalCommandsFcn [protected]

Constructor & Destructor Documentation


Member Function Documentation

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.

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 std::vector<std::string> makVrf::DtVrfGuiCommandLineParser::defaultObserverMode ( ) const [protected, virtual]

Default observer mode in case of none. Plan_View is default.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)