VR-Forces 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) override;
36 
38  virtual void processArgs(makVrv::DtVrvApplicationConfiguration& appConfig);
39 
42  virtual void addAdditionalCommandLineArgument(DtCmdLine::Arg* addlArg);
43 
44 protected:
46 
47  DtCmdLine::MultiArg<std::string>* myPluginsToLoadArg;
48  DtCmdLine::ValueArg<std::string>* myLocaleArg;
49  DtCmdLine::SwitchArg* myDoNotLoadDefaultPluginsArg;
50  DtCmdLine::SwitchArg* myDoNotCheckPluginVersions;
51  DtCmdLine::SwitchArg* myPartialLoadArg;
52  DtCmdLine::ValueArg<std::string>* mySmsFile;
53  DtCmdLine::ValueArg<std::string>* mySettingsDirectory;
54  DtCmdLine::ValueArg<std::string>* myOpdEditorLocation;
55  DtCmdLine::ValueArg<std::string>* myLauncherLocation;
56  DtCmdLine::ValueArg<std::string>* myVisualTerrain;
57  DtCmdLine::ValueArg<std::string>* myUpgradeSMS;
58  DtCmdLine::ValueArg<std::string>* myUpgradeSMSSystems;
59  DtCmdLine::ValueArg<std::string>* myAppDataDir;
60  DtCmdLine::ValueArg<std::string>* myDataDir;
61  DtCmdLine::ValueArg<std::string>* mySharedDataDir;
62  DtCmdLine::ValueArg<std::string>* mySharedDataRoot;
63  DtCmdLine::ValueArg<std::string>* mySharedDataStem;
64  DtCmdLine::ValueArg<std::string>* myLayoutSettingsFile;
65  DtCmdLine::ValueArg<std::string>* myGui;
66  DtCmdLine::ValueArg<int>* myNotifyLevel;
67  DtCmdLine::ValueArg<std::string>* mySharedSettingsDirectory;
68  DtCmdLine::SwitchArg* myUseUserSettingsDirectory;
69  DtCmdLine::SwitchArg* myLightModeArg;
70 
85  DtCmdLine::ValueArg<std::string>* myLimitEntityTexturesArg = nullptr;
86 
90  DtCmdLine::ValueArg<std::string>* myLimitEntityTexturesExclusionsArg = nullptr;
91 
102  DtCmdLine::ValueArg<int>* myLimitGpuMemoryPercentageArg = nullptr;
103 
104 #ifdef _WIN32
105 #ifndef _DEBUG
106  DtCmdLine::SwitchArg* myShowConsoleArg;
108 #endif
109 #endif
110  std::vector<DtCmdLine::Arg*> myAdditionalCommandLineArguments;
111 };
DtCmdLine::ValueArg< std::string > * myLayoutSettingsFile
Definition: simulationObjectEditorCommandLineParser.h:64
Entity editor version of the parameter altering application.
Definition: simulationObjectEditorApplication.h:210
DtCmdLine::MultiArg< std::string > * myPluginsToLoadArg
Definition: simulationObjectEditorCommandLineParser.h:47
Contains makVrv::DtVrvCommandLineProcessor class.
DtCmdLine::ValueArg< std::string > * mySharedSettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:67
DtCmdLine::ValueArg< std::string > * myVisualTerrain
Definition: simulationObjectEditorCommandLineParser.h:56
DtCmdLine::ValueArg< std::string > * myGui
Definition: simulationObjectEditorCommandLineParser.h:65
DtCmdLine::SwitchArg * myLightModeArg
Definition: simulationObjectEditorCommandLineParser.h:69
DtCmdLine::ValueArg< std::string > * mySharedDataRoot
Definition: simulationObjectEditorCommandLineParser.h:62
DtCmdLine::SwitchArg * myUseUserSettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:68
DtCmdLine::ValueArg< std::string > * myLocaleArg
Definition: simulationObjectEditorCommandLineParser.h:48
DtSimulationObjectEditorApplication * myApplication
Definition: simulationObjectEditorCommandLineParser.h:45
DtCmdLine::ValueArg< std::string > * myOpdEditorLocation
Definition: simulationObjectEditorCommandLineParser.h:54
DtCmdLine::ValueArg< std::string > * myDataDir
Definition: simulationObjectEditorCommandLineParser.h:60
DtCmdLine::ValueArg< std::string > * myUpgradeSMSSystems
Definition: simulationObjectEditorCommandLineParser.h:58
The DtVrvCommandLineProcessor is an interface for an application-specific command line parser...
Definition: DtVrvCommandLineProcessor.h:21
DtCmdLine::ValueArg< std::string > * myUpgradeSMS
Definition: simulationObjectEditorCommandLineParser.h:57
DtCmdLine::ValueArg< std::string > * myLauncherLocation
Definition: simulationObjectEditorCommandLineParser.h:55
DtCmdLine::ValueArg< std::string > * mySharedDataDir
Definition: simulationObjectEditorCommandLineParser.h:61
DtCmdLine::SwitchArg * myDoNotCheckPluginVersions
Definition: simulationObjectEditorCommandLineParser.h:50
This owns a list of display engine configurations.
Definition: DtVrvApplicationConfiguration.h:32
DtCmdLine::ValueArg< std::string > * mySharedDataStem
Definition: simulationObjectEditorCommandLineParser.h:63
DtCmdLine::SwitchArg * myDoNotLoadDefaultPluginsArg
Definition: simulationObjectEditorCommandLineParser.h:49
DtCmdLine::ValueArg< std::string > * mySettingsDirectory
Definition: simulationObjectEditorCommandLineParser.h:53
DtCmdLine::SwitchArg * myPartialLoadArg
Definition: simulationObjectEditorCommandLineParser.h:51
DtCmdLine::ValueArg< std::string > * mySmsFile
Definition: simulationObjectEditorCommandLineParser.h:52
std::vector< DtCmdLine::Arg * > myAdditionalCommandLineArguments
Definition: simulationObjectEditorCommandLineParser.h:110
The Entity Editors&#39;s command line processor.
Definition: simulationObjectEditorCommandLineParser.h:27
DtCmdLine::ValueArg< int > * myNotifyLevel
Definition: simulationObjectEditorCommandLineParser.h:66
DtCmdLine::ValueArg< std::string > * myAppDataDir
Definition: simulationObjectEditorCommandLineParser.h:59
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)