VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStealthCommandLineProcessor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 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>* modelPreloadFilenameArg;
48  DtCmdLine::ValueArg<std::string>* discoveredModelPreloadFilenameArg;
49  DtCmdLine::ValueArg<std::string>* userDataDir;
50  DtCmdLine::ValueArg<std::string>* appDataDir;
51  DtCmdLine::ValueArg<std::string>* dataDir;
52  DtCmdLine::ValueArg<std::string>* factoryRootDir;
53  DtCmdLine::MultiArg<std::string>* addPlugin;
54  DtCmdLine::MultiArg<std::string>* excludePlugin;
55  DtCmdLine::ValueArg<unsigned short>* displayEnginePortArg;
56  DtCmdLine::MultiArg<std::string>* connectToDisplayEnginesArg;
57  DtCmdLine::ValueArg<std::string>* loadDisplayConfig;
58  DtCmdLine::ValueArg<std::string>* loadEnvironmentConfig;
59  DtCmdLine::ValueArg<std::string>* loadEntityDisplayConfig;
60  DtCmdLine::MultiArg<std::string>* autoDriverArg;
61  DtCmdLine::MultiArg<std::string>* mappingsConfig;
62  DtCmdLine::MultiArg<std::string>* observerStateArg;
63  DtCmdLine::MultiArg<std::string>* bindObserverStateArg;
64  DtCmdLine::MultiArg<std::string>* entityDefsHierFilesOrDirs;
65  DtCmdLine::MultiArg<std::string>* entityDefsLeafFilesOrDirs;
66  DtCmdLine::MultiArg<std::string>* aggregateDefsHierFilesOrDirs;
67  DtCmdLine::MultiArg<std::string>* aggregateDefsLeafFilesOrDirs;
68  DtCmdLine::MultiArg<std::string>* tacticalGraphicsDefsHierFilesOrDirs;
69  DtCmdLine::MultiArg<std::string>* tacticalGraphicsDefsLeafFilesOrDirs;
70  DtCmdLine::MultiArg<std::string>* modelDefsFileOrDir;
71  DtCmdLine::MultiArg<std::string>* entityTypeMapFileOrDir;
72  DtCmdLine::MultiArg<std::string>* aggregateTypeMapFileOrDir;
73  DtCmdLine::MultiArg<std::string>* tacticalGraphicsTypeMapFileOrDir;
74 
75 
81  DtCmdLine::ValueArg<double>* tcpSendTimeout;
82  DtCmdLine::ValueArg<double>* autoReconnectPeriod;
83 
84  DtCmdLine::ValueArg<unsigned short>* numDepthBitsArg;
85  DtCmdLine::ValueArg<unsigned short>* numStencilBitsArg;
86  DtCmdLine::ValueArg<unsigned short>* numAlphaBitsArg;
87  DtCmdLine::ValueArg<unsigned short>* antiAliasingArg;
88 
89  DtCmdLine::ValueArg<unsigned short>* frameRate;
93 
95 
103  DtCmdLine::ValueArg<std::string>* entityDefsDir;
104 
105 #ifdef _WIN32
106 #ifndef _DEBUG
107 
108  makVrv::SwitchArg* showConsoleArg;
109 #endif
110 #endif
112 
114 
116 
117  DtCmdLine::ValueArg<unsigned short>* mainScreenNumArg;
119  DtCmdLine::ValueArg<std::string>* extraArgs;
120 
123 
124  };
125 
127  virtual void processArgs(DtVrvApplicationConfiguration& appConfig, StealthArgs& args);
128  };
129 }
130 
131 #define DtStealthCommandLineProcessor_INL_
132 #include <vrvCore/DtStealthCommandLineProcessor.inl>
133 #undef DtStealthCommandLineProcessor_INL_

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)