VR-Forces 4.3.1 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) 2015 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::MultiArg<std::string>* autoDriverArg;
58  DtCmdLine::MultiArg<std::string>* mappingsConfig;
59  DtCmdLine::MultiArg<std::string>* observerStateArg;
60  DtCmdLine::MultiArg<std::string>* bindObserverStateArg;
66 
67  DtCmdLine::ValueArg<unsigned short>* numDepthBitsArg;
68  DtCmdLine::ValueArg<unsigned short>* numStencilBitsArg;
69  DtCmdLine::ValueArg<unsigned short>* antiAliasingArg;
70 
71  DtCmdLine::ValueArg<unsigned short>* frameRate;
75 
77 #ifdef OCULUS_OS_SUPPORTED
78  makVrv::SwitchArg* enableOculusRiftArg;
79 #endif
80 
81 #ifdef _WIN32
82 #ifndef _DEBUG
83 
84  makVrv::SwitchArg* showConsoleArg;
85 #endif
86 #endif
87  };
88 
90  virtual void processArgs(DtVrvApplicationConfiguration& appConfig, StealthArgs& args);
91  };
92 }
93 
94 #define DtStealthCommandLineProcessor_INL_
95 #include <vrvCore/DtStealthCommandLineProcessor.inl>
96 #undef DtStealthCommandLineProcessor_INL_

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)