VR-Forces Development_Version 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) 2016 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::ValueArg<std::string>* factoryRootDir;
51  DtCmdLine::MultiArg<std::string>* addPlugin;
52  DtCmdLine::MultiArg<std::string>* excludePlugin;
53  DtCmdLine::ValueArg<unsigned short>* displayEnginePortArg;
54  DtCmdLine::MultiArg<std::string>* connectToDisplayEnginesArg;
55  DtCmdLine::ValueArg<std::string>* loadDisplayConfig;
56  DtCmdLine::ValueArg<std::string>* loadEnvironmentConfig;
57  DtCmdLine::ValueArg<std::string>* loadEntityDisplayConfig;
58  DtCmdLine::MultiArg<std::string>* autoDriverArg;
59  DtCmdLine::MultiArg<std::string>* mappingsConfig;
60  DtCmdLine::MultiArg<std::string>* observerStateArg;
61  DtCmdLine::MultiArg<std::string>* bindObserverStateArg;
67  DtCmdLine::ValueArg<double>* tcpSendTimeout;
68 
69  DtCmdLine::ValueArg<unsigned short>* numDepthBitsArg;
70  DtCmdLine::ValueArg<unsigned short>* numStencilBitsArg;
71  DtCmdLine::ValueArg<unsigned short>* numAlphaBitsArg;
72  DtCmdLine::ValueArg<unsigned short>* antiAliasingArg;
73 
74  DtCmdLine::ValueArg<unsigned short>* frameRate;
78 
80 #ifdef OCULUS_OS_SUPPORTED
81  makVrv::SwitchArg* enableOculusRiftArg;
82 #endif
83 
84 #ifdef _WIN32
85 #ifndef _DEBUG
86 
87  makVrv::SwitchArg* showConsoleArg;
88 #endif
89 #endif
91 
93 
94  DtCmdLine::ValueArg<unsigned short>* mainScreenNumArg;
95  };
96 
98  virtual void processArgs(DtVrvApplicationConfiguration& appConfig, StealthArgs& args);
99  };
100 }
101 
102 #define DtStealthCommandLineProcessor_INL_
103 #include <vrvCore/DtStealthCommandLineProcessor.inl>
104 #undef DtStealthCommandLineProcessor_INL_

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)