VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtStealthCommandLineProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <cmdLine/cmdArg.h>
15 
16 namespace makVrv
17 {
21  {
22  public:
23 
26 
29 
31  virtual void processCommandLine(DtVrvApplicationConfiguration& appConfig,
32  int argc, char** argv);
33 
37 
38  protected:
39 
40  struct StealthArgs
41  {
42  DtCmdLine::UnlabeledMultiArg<std::string>* fileToOpenArg;
44  DtCmdLine::ValueArg<std::string>* localeArg;
45  DtCmdLine::ValueArg<int>* notifyLevelArg;
46  DtCmdLine::ValueArg<std::string>* logFilenameArg;
47  DtCmdLine::ValueArg<std::string>* userDataDir;
48  DtCmdLine::ValueArg<std::string>* appDataDir;
49  DtCmdLine::ValueArg<std::string>* dataDir;
50  DtCmdLine::MultiArg<std::string>* addPlugin;
51  DtCmdLine::MultiArg<std::string>* excludePlugin;
52  DtCmdLine::ValueArg<unsigned short>* displayEnginePortArg;
53  DtCmdLine::MultiArg<std::string>* connectToDisplayEnginesArg;
54  DtCmdLine::ValueArg<std::string>* loadDisplayConfig;
55  DtCmdLine::ValueArg<std::string>* loadEnvironmentConfig;
56  DtCmdLine::ValueArg<std::string>* loadEntityDisplayConfig;
57  DtCmdLine::ValueArg<std::string>* autoDriverArg;
58  DtCmdLine::MultiArg<std::string>* mappingsConfig;
59  DtCmdLine::MultiArg<std::string>* observerStateArg;
60  DtCmdLine::MultiArg<std::string>* bindObserverStateArg;
64 
65  DtCmdLine::ValueArg<unsigned short>* numDepthBitsArg;
66  DtCmdLine::ValueArg<unsigned short>* numStencilBitsArg;
67  DtCmdLine::ValueArg<unsigned short>* antiAliasingArg;
68 
69  DtCmdLine::ValueArg<unsigned short>* frameRate;
73 
75 
76 #ifdef _WIN32
77 #ifndef _DEBUG
78 
79  makVrv::SwitchArg* showConsoleArg;
80 #endif
81 #endif
82  };
83 
85  virtual void processArgs(DtVrvApplicationConfiguration& appConfig, StealthArgs& args);
86  };
87 }
88 
89 #define DtStealthCommandLineProcessor_INL_
90 #include <vrvCore/DtStealthCommandLineProcessor.inl>
91 #undef DtStealthCommandLineProcessor_INL_

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)