VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationObjectEditorCommandLineParser.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
18 
19 #include <cmdLine/cmdArg.h>
20 #include <cmdLine/cmdLine.h>
21 
22 #include <boost/function.hpp>
23 
25 
28 {
29 public:
31 
33 
35  virtual void processCommandLine(makVrv::DtVrvApplicationConfiguration& appConfig, int argc, char** argv);
36 
38  virtual void processArgs(makVrv::DtVrvApplicationConfiguration& appConfig);
39 
40 protected:
42 
43  DtCmdLine::MultiArg<std::string>* myPluginsToLoadArg;
44  DtCmdLine::ValueArg<std::string>* myLocaleArg;
45  DtCmdLine::SwitchArg* myDoNotLoadDefaultPluginsArg;
46  DtCmdLine::SwitchArg* myDoNotCheckPluginVersions;
47  DtCmdLine::ValueArg<std::string>* mySmsFile;
48  DtCmdLine::ValueArg<std::string>* mySettingsDirectory;
49  DtCmdLine::ValueArg<std::string>* myOpdEditorLocation;
50  DtCmdLine::ValueArg<std::string>* myLauncherLocation;
51  DtCmdLine::ValueArg<std::string>* myVisualTerrain;
52  DtCmdLine::ValueArg<std::string>* myAppDataDir;
53  DtCmdLine::ValueArg<std::string>* myDataDir;
54  DtCmdLine::ValueArg<std::string>* mySharedDataDir;
55  DtCmdLine::ValueArg<std::string>* mySharedDataRoot;
56  DtCmdLine::ValueArg<std::string>* mySharedDataStem;
57  DtCmdLine::ValueArg<std::string>* myLayoutSettingsFile;
58  DtCmdLine::ValueArg<std::string>* myGui;
59  DtCmdLine::ValueArg<int>* myNotifyLevel;
60  DtCmdLine::ValueArg<std::string>* mySharedSettingsDirectory;
61  DtCmdLine::SwitchArg* myUseUserSettingsDirectory;
62  DtCmdLine::SwitchArg* myLightModeArg;
63 
78  DtCmdLine::ValueArg<std::string>* myLimitEntityTexturesArg = nullptr;
79 
83  DtCmdLine::ValueArg<std::string>* myLimitEntityTexturesExclusionsArg = nullptr;
84 
95  DtCmdLine::ValueArg<int>* myLimitGpuMemoryPercentageArg = nullptr;
96 
97 #ifdef _WIN32
98 #ifndef _DEBUG
99  DtCmdLine::SwitchArg* myShowConsoleArg;
101 #endif
102 #endif
103 };
DtCmdLine::ValueArg< std::string > * myLayoutSettingsFile
Definition: simulationObjectEditorCommandLineParser.h:57
Entity editor version of the parameter altering application.
Definition: simulationObjectEditorApplication.h:199
DtCmdLine::MultiArg< std::string > * myPluginsToLoadArg
Definition: simulationObjectEditorCommandLineParser.h:43
Contains makVrv::DtVrvCommandLineProcessor class.
DtCmdLine::ValueArg< std::string > * mySharedSettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:60
DtCmdLine::ValueArg< std::string > * myVisualTerrain
Definition: simulationObjectEditorCommandLineParser.h:51
DtCmdLine::ValueArg< std::string > * myGui
Definition: simulationObjectEditorCommandLineParser.h:58
DtCmdLine::SwitchArg * myLightModeArg
Definition: simulationObjectEditorCommandLineParser.h:62
DtCmdLine::ValueArg< std::string > * mySharedDataRoot
Definition: simulationObjectEditorCommandLineParser.h:55
DtCmdLine::SwitchArg * myUseUserSettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:61
DtCmdLine::ValueArg< std::string > * myLocaleArg
Definition: simulationObjectEditorCommandLineParser.h:44
DtSimulationObjectEditorApplication * myApplication
Definition: simulationObjectEditorCommandLineParser.h:41
DtCmdLine::ValueArg< std::string > * myOpdEditorLocation
Definition: simulationObjectEditorCommandLineParser.h:49
DtCmdLine::ValueArg< std::string > * myDataDir
Definition: simulationObjectEditorCommandLineParser.h:53
The DtVrvCommandLineProcessor is an interface for an application-specific command line parser...
Definition: DtVrvCommandLineProcessor.h:21
DtCmdLine::ValueArg< std::string > * myLauncherLocation
Definition: simulationObjectEditorCommandLineParser.h:50
DtCmdLine::ValueArg< std::string > * mySharedDataDir
Definition: simulationObjectEditorCommandLineParser.h:54
DtCmdLine::SwitchArg * myDoNotCheckPluginVersions
Definition: simulationObjectEditorCommandLineParser.h:46
This owns a list of display engine configurations.
Definition: DtVrvApplicationConfiguration.h:30
DtCmdLine::ValueArg< std::string > * mySharedDataStem
Definition: simulationObjectEditorCommandLineParser.h:56
DtCmdLine::SwitchArg * myDoNotLoadDefaultPluginsArg
Definition: simulationObjectEditorCommandLineParser.h:45
DtCmdLine::ValueArg< std::string > * mySettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:48
DtCmdLine::ValueArg< std::string > * mySmsFile
Definition: simulationObjectEditorCommandLineParser.h:47
The Entity Editors&#39;s command line processor.
Definition: simulationObjectEditorCommandLineParser.h:27
DtCmdLine::ValueArg< int > * myNotifyLevel
Definition: simulationObjectEditorCommandLineParser.h:59
DtCmdLine::ValueArg< std::string > * myAppDataDir
Definition: simulationObjectEditorCommandLineParser.h:52
virtual void processCommandLine(DtVrvApplicationConfiguration &appConfig, int argc, char **argv)
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)