VR-Forces 4.1 Class Documentation
DtStealthCommandLineProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 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  DtCmdLine::ValueArg<unsigned short>* frameRate;
65 
66 #ifdef _WIN32
67 #ifndef _DEBUG
68 
69  makVrv::SwitchArg* showConsoleArg;
70 #endif
71 #endif
72  };
73 
75  virtual void processArgs(DtVrvApplicationConfiguration& appConfig, StealthArgs& args);
76  };
77 }
78 
79 #define DtStealthCommandLineProcessor_INL_
80 #include <vrvCore/DtStealthCommandLineProcessor.inl>
81 #undef DtStealthCommandLineProcessor_INL_

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)