![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtScenario () | |
| DtScenario (const DtString &name, DtReaderWriterRegistry *const parentRegistry=0) | |
| virtual | ~DtScenario () override |
| DtScenario (const DtScenario &orig) | |
| DtScenario & | operator= (const DtScenario &orig) |
| virtual bool | init () |
| virtual bool | readScenarioFile (const DtFilename &filename) |
| bool | saveAsZipFile () const |
| virtual void | setSaveAsZipFile (bool) |
| virtual bool | save () |
| virtual DtString | toXml (const DtFilename &scenarioFilename) |
| virtual void | setupScenarioFilenames (const DtFilename &scenarioFilename, bool saveObjectMap=true) |
| virtual bool | save (const DtFilename &filename, bool saveObjectMap=true) |
| virtual DtScenario * | clone () const |
| virtual void | setComponentAttachmentTableFilename (const DtFilename &filename) |
| virtual const DtFilename & | componentAttachmentTableFilename () const |
| virtual void | setTerrainDatabaseFilename (const DtFilename &filename) |
| virtual const DtFilename & | terrainDatabaseFilename () const |
| virtual void | setGuiTerrainDatabaseFilename (const DtFilename &filename) |
| virtual const DtFilename & | guiTerrainDatabaseFilename () const |
| virtual void | setOrderOfBattleFilename (const DtFilename &filename) |
| virtual DtFilename | orderOfBattleFilename () const |
| virtual void | setScenarioScriptsFilename (const DtFilename &filename) |
| virtual DtFilename | scenarioScriptsFilename () const |
| virtual void | setOrbatFilename (const DtFilename &filename) |
| virtual DtFilename | orbatFilename () const |
| virtual void | setPlanFilename (const DtFilename &filename) |
| virtual DtFilename | planFilename () const |
| virtual void | setParameterDatabaseFilename (const DtFilename &filename) |
| virtual const DtFilename & | parameterDatabaseFilename () const |
| virtual void | setPhysicalWorldFilename (const DtFilename &filename) |
| virtual const DtFilename & | physicalWorldFilename () const |
| virtual void | setObjectMapFilename (const DtFilename &filename) |
| virtual DtFilename | objectMapFilename () const |
| virtual void | setOverlayFilename (const DtFilename &filename) |
| virtual DtFilename | overlayFilename () const |
| virtual void | setSelectionGroupsFilename (const DtFilename &filename) |
| virtual DtFilename | selectionGroupsFilename () const |
| virtual void | setSymbolMapFilename (const DtFilename &filename) |
| virtual const DtFilename & | symbolMapFilename () const |
| virtual void | setCreateMenuFilename (const DtFilename &filename) |
| virtual const DtFilename & | createMenuFilename () const |
| virtual void | setForceHostilityFilename (const DtFilename &filename) |
| virtual DtFilename | forceHostilityFilename () const |
| virtual void | setUseDayNightIlluminationModel (bool) |
| virtual bool | useDayNightIlluminationModel () const |
| virtual void | setTimeMultiplier (DtReal multiplier) |
| virtual DtReal | timeMultiplier () const |
| virtual void | setAutoReorganize (const bool &flag) |
| virtual const bool & | autoReorganize () const |
| virtual DtString | frameRateModeString () const |
| virtual DtFrameMode | frameRateMode () const |
| virtual void | setFrameRateModeString (DtString value) |
| virtual void | setFrameRateMode (DtFrameMode value) |
| virtual DtReal | frameDeltaTime () const |
| virtual void | setFrameDeltaTime (DtReal value) |
| virtual DtTime | runUntilTime () const |
| virtual void | setRunUntilTime (DtTime time) |
| virtual void | setSimTime (DtTime time) |
| virtual DtTime | simTime () const |
| virtual void | setExerciseStartDateAndTime (int year, int month, int day, int hour, int minute, int second) |
| virtual void | setExerciseStartDateAndTime (DtTime time) |
| virtual void | setExerciseStartTime (DtTime time) |
| virtual DtTime | exerciseStartTime () const |
| virtual void | setTimeSetToLocalOnFirstPlacement (bool) |
| virtual bool | timeSetToLocalOnFirstPlacement () const |
| virtual void | setScenarioDescription (const DtString &) |
| virtual DtString | scenarioDescription () const |
| virtual bool | isParameterDatabaseRwStringSpecified () |
| virtual bool | isPhysicalWorldRwStringSpecified () |
| virtual bool | isOrderOfBattleRwStringSpecified () |
| virtual bool | isScenarioScriptsRwStringSpecified () |
| virtual bool | isOrbatRwStringSpecified () |
| virtual bool | isOverlayRwStringSpecified () |
| virtual bool | isSelectionGroupsRwStringSpecified () |
| virtual bool | isSymbolMapRwStringSpecified () |
| virtual bool | isCreateMenuRwStringSpecified () |
| virtual bool | isPlanRwStringSpecified () |
| virtual bool | isObjectMapRwStringSpecified () |
| virtual bool | isTimeMultiplierSpecified () |
| virtual bool | isAutoReorganizeRwStringSpecified () |
| virtual bool | isFrameRateModeSpecified () |
| virtual bool | isRunUntilTimeSpecified () |
| virtual bool | isFrameDeltaTimeSpecified () |
| virtual bool | isSimTimeSpecified () |
| virtual bool | isExerciseStartTimeSpecified () |
| virtual bool | isForceHostilityRWStringSpecified () |
| virtual bool | isScenarioExtrasRWStringSpecified () |
| virtual void | setFilename (const DtFilename &) |
| virtual const DtFilename & | filename () const |
| virtual bool | writeScenarioFile (const DtFilename &filename) |
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtReaderWriter::appPath()) override |
| virtual bool | getSelf (const std::string &fp) |
| virtual bool | getSelf (const DtString &fp) |
| virtual void | putSelf (DtEnvironmentSP env, DtEnvValueSP parent) const override |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override |
| virtual void | getSelf (const DtEnvironmentSP env, const DtEnvValueSP root, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) override |
| virtual void | finalizeGetSelf () |
| virtual bool | isValid (bool allowEmptyFilenames=true, DtString *retMessage=0) const |
| virtual double | version () const |
| virtual bool | relativeToScenarioFile () const |
| virtual void | setToCurrentVersion () |
| virtual void | updateSimulationModelSetFilenames () |
| virtual void | resolveSimulationModelSetPaths () |
| virtual void | resolveDataPaths () |
| virtual void | setGlobalPlanFilename (const DtFilename &filename) |
| virtual DtFilename | globalPlanFilename () const |
| virtual void | setScenarioExtrasFilename (const DtFilename &f) |
| virtual DtFilename | scenarioExtrasFilename () const |
| virtual void | setCreateGlobalEnvironment (bool b) |
| virtual bool | createGlobalEnvironment () const |
| virtual void | setCreateGlobalDynamicTerrain (bool b) |
| virtual bool | createGlobalDynamicTerrain () const |
| virtual DtRwNLengthStringVector & | additionalOpdFilenames () |
| virtual const DtRwNLengthStringVector & | additionalOpdFilenames () const |
| virtual void | addAdditionalOpdFilename (const DtString &) |
| virtual void | removeAdditonalOpdFilename (int iIndex) |
| virtual void | setAdditionalOpdFilenames (const DtRwNLengthStringVector &) |
| virtual DtRwNLengthStringVector & | simulationModelSetFilenames () |
| virtual const DtRwNLengthStringVector & | simulationModelSetFilenames () const |
| virtual DtRwNLengthStringVector & | unresolvedSimulationModelSetFilenames () |
| virtual const DtRwNLengthStringVector & | unresolvedSimulationModelSetFilenames () const |
| virtual void | addSimulationModelSetFilename (const DtString &) |
| virtual void | removeSimulationModelSetFilename (int iIndex) |
| virtual void | setSimulationModelSetFilenames (const DtRwNLengthStringVector &) |
| virtual void | setSimulationModelSetFilenames (const std::vector< DtFilename > &) |
| virtual void | setSimulationModelSetFilenames (const std::vector< std::string > &) |
| virtual DtRwKeyValueList & | scenarioData () |
| virtual const DtRwKeyValueList & | scenarioData () const |
| virtual DtString | scenarioName () const |
| virtual void | setScenarioName (const DtString &name) |
| virtual bool | scenarioNameSpecified () const |
| virtual void | setGuiRuntimeLoadBalancingScheme (const DtString &scheme, const DtString &userData) |
| virtual void | getGuiRuntimeLoadBalancingScheme (DtString &scheme, DtString &userData) const |
| virtual void | setSimRemoteAttachmentBalancingScheme (const DtString &scheme, const DtString &userData) |
| virtual void | getSimRemoteAttachmentBalancingScheme (DtString &scheme, DtString &userData) const |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| bool | operator== (const DtReaderWriter &) const |
| bool | operator!= (const DtReaderWriter &rhs) const |
| virtual | ~DtReaderWriter () |
| virtual void | postPutSelf () |
| virtual void | prePutSelf () |
| virtual void | postGetSelf () |
| virtual void | preGetSelf () |
| virtual void | writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| virtual DtSymbolString | name () const |
| virtual void | addAlias (const DtSymbolString &alias) |
| virtual void | addAlias (const DtString &alias) |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| bool | isReadonly () const |
| virtual void | reset () |
| virtual int | alignment () const |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| virtual void | setName (const DtString &) |
| virtual const char * | readerWriterType () const |
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| virtual bool | hasVariableReference () const |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| virtual void | recordUpdateTime () const |
| virtual bool | changedSinceLastChecked () |
| virtual bool | peekChangedSinceLastChecked () const |
| virtual void | putData (std::string &fp, int indentLevel=0) |
| virtual DtlObjPtr | getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| virtual DtSymbolString | variableName () const |
| virtual void | setVariableName (const DtSymbolString variableName) |
| virtual const DtReaderWriter * | defaultRWValue () const |
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| const DtReaderWriterRegistry & | registry () const |
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual DtRwVariableBindings * | generateVariableBindings () const |
| virtual bool | toXml (const DtFilename &) const |
| virtual bool | fromXml (const DtString &) |
| virtual bool | fromXmlFile (const DtFilename &) |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
Static Public Member Functions | |
| static bool | saveBufferToScenarioZipFile (const DtFilename &scenanarioZipFile, const DtFilename &zipContentsFile, const DtString &buffer) |
| static bool | saveBufferToScenarioZipFile (const DtFilename &scenanarioZipFile, const DtFilename &zipContentsFile, const char *buffer, int length) |
| static bool | readBufferFromScenarioZipFile (const DtFilename &scenanarioZipFile, const DtFilename &zipContentsFile, DtString &buffer, bool onlyNeedsExtensionMatch=true) |
| static bool | fileExistsInZipFile (const DtFilename &scenanarioZipFile, const DtFilename &zipContentsFile, bool onlyNeedsExtensionMatch=true) |
| static bool | extractScenarioFileFromZipFile (const DtFilename &scenarioZipFile, const DtFilename &zipContentsFile, bool onlyNeedsExtensionMatch=true) |
| static bool | readScenarioFromZipFile (const DtFilename &f, DtScenario &scenario) |
| static bool | saveFileToScenarioZipFile (const DtFilename &scenanarioZipFile, const DtFilename &zipContentsFile) |
| static bool | isScenarioZipFile (const DtFilename &) |
| static DtFilename | validTerrainFile (const DtFilename &) |
| static double | currentScenarioVersion () |
| static DtFilename | reworkDataDirectory (const DtFilename &, DtFilename *unresolvedFilename=nullptr) |
| static DtFilename | replaceDirectoryWithAppropriateVariable (const DtFilename &) |
| static DtString | replaceDirectoryWithAppropriateVariable (const DtString &) |
| static DtString | getFrameModeNameFromFrameModeType (DtFrameMode) |
| static DtFrameMode | getFrameModeTypeFromFrameModeName (const DtString &frameModeName) |
Static Public Member Functions inherited from DtReaderWriter | |
| static void | putIndent (std::string &fp, int indentLevel) |
| static const DtVariableBindingsList & | nullVariableReference () |
| static void | setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData) |
| static void | setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData) |
| static void | setPutIndent (bool) |
| static bool | putIndent () |
| static const char * | theXmlType () |
| static const DtFilename & | appPath () |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| static void | createReaderWriterFactory () |
| static void | cleanupFactory () |
| static DtReaderWriterFactory * | factory () |
| static void | setOutputStream (DtOutputStream *stream) |
| static DtOutputStream & | outputStream () |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &, bool createAsProperty=false) |
| static DtReaderWriter * | createFromXml (const DtString &, bool createAsProperty=false) |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP, bool createAsProperty=false) |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
Protected Member Functions | |
| virtual DtFilename | absoluteFilename (const DtFilename &) const |
Protected Member Functions inherited from DtReaderWriter | |
| virtual void | bindToRwAsVariable (const DtReaderWriter *rw) |
Additional Inherited Members | |
Public Types inherited from DtReaderWriter | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::vector< DtFilename > | SearchPaths |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
| typedef DtReaderWriterFactory *(* | DtReaderWriterFactoryCreatorFcn )() |
| DtScenario::DtScenario | ( | ) |
default constructor
| DtScenario::DtScenario | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = 0 |
||
| ) |
real constructor
|
overridevirtual |
destructor
| DtScenario::DtScenario | ( | const DtScenario & | orig | ) |
copy constructor
| DtScenario& DtScenario::operator= | ( | const DtScenario & | orig | ) |
assignment operator
|
virtual |
Initialization. Must be called before any other functions are called.
|
virtual |
Read itself from file.
| bool DtScenario::saveAsZipFile | ( | ) | const |
Whether or not, when saving, to treat file as a zip file. This will be true if the flag to save as a zip file is true or the extension is the compressed extension.
|
virtual |
|
virtual |
Saves the scenario to a file with the current filename, if it exists.
|
static |
Writes the contents of the buffer to a filename of the given name within the zip archive given by the supplied scenario file If the file does not exist it will be created.
|
static |
|
static |
If the onlyNeedsMatchExtension flag is true will extract the first file found with the given extension, else will do a full filename match Reads the buffer from the zip file given the file name in the zip file to look for.
|
static |
Returns true if the specified file exists in the scenario zip file.
|
static |
Extract the given file and saves it with the supplied filename. Since only the filename is checked the file to save to can be a complete path plus filename.
|
static |
If the given file is a zip file, fill the scenario given with the scenario information found within.
|
static |
Saves the contents of the file to the zip file. If zip file does not exist will create.
|
static |
Returns true if the given file is a scenario zip file.
|
virtual |
Save and return file contents to .xml string. The reason why the name needs to be supplied is to make sure the internal filenames match the scenario (order of battl, object map, etc)
|
virtual |
Simply sets up what the filenames to save would be without saving the scenario file.
Saves the scenario to a file with the given filename. The saveObjectMap parameter allows the object map name to be written out as a null string.
|
virtual |
Clone function. Returns newly created instance of a DtScenario, cloned from ourself.
|
virtual |
Set/get the remote component attachment filename.
|
virtual |
|
virtual |
Set/get the terrain database filename. This is terrain database used by the backend and Gui (unless a different Gui terrain database is specified).
|
virtual |
|
virtual |
Set/get the GUI terrain database filename (if one exists).
|
virtual |
|
virtual |
Set/get the order of battle filename.
|
virtual |
|
virtual |
Set/get the scenario scripts filename.
|
virtual |
|
virtual |
Set/get the orbat filename.
|
virtual |
|
virtual |
Set/get the plan filename.
|
virtual |
|
virtual |
Set/get the global plan filename.
|
virtual |
Set/get the global plan filename.
|
virtual |
Set/get the parameter database filename.
|
virtual |
|
virtual |
Set/get the physical world settings file.
|
virtual |
|
virtual |
Set/get the object map filename.
|
virtual |
|
virtual |
Set/get the overlay filename. These are overlays that are not published on the network.
|
virtual |
|
virtual |
Set/get the selection groups filename.
|
virtual |
|
virtual |
Set/get the symbol map file to use to display symbols on the front end. Blank entry means use current.
|
virtual |
|
virtual |
Set/get the create menu to use with this scenario. Blank entry means use current.
|
virtual |
|
virtual |
Set/get the Forces and hostility matrix to use with this scenario. Blank entry means to use the default from the SMS. (Obsolete; not used after version 4.03)
|
virtual |
|
virtual |
Set/get the scenario data, including the force/hostility matrix, the spawn templates, ...
|
virtual |
Set/get the scenario data, including the force/hostility matrix, the spawn templates, ...
|
virtual |
Whether or not to use the day/night illumination model on new scenario. This value will only be valid for when theis scenario is used when creating a new scenario. This value is added as part of the scenario's extra data, and, will be removed from the scenario object in the cgf when the new scenario is created. When this scenario is saved this value will not be present in the scenario extras data.
|
virtual |
|
virtual |
Set/get the time multiplier.
|
virtual |
|
virtual |
Set/get the auto reorganize flag.
|
virtual |
|
virtual |
Get/Set frame rate mode.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get/Set frame delta time.
|
virtual |
|
virtual |
Set/get the run until time. By default, the run until time is set to 0 (run indefinitely).
|
virtual |
|
virtual |
Set/get simulation time.
|
virtual |
|
virtual |
Set/get exercise start time.
|
virtual |
Assumed time is UTC from 1/1/1970 00:00:00.
|
virtual |
Set exercise time. Will take todays date as the start date.
|
virtual |
Returns exercise start date and time.
|
virtual |
If true, will set the start time to be the time of day component of the current UTM global time at the objects first placement lat/lon, else will just set UTM time. Default is false.
|
virtual |
|
virtual |
If true, a global environment object should be created by one of the back-ends.
|
virtual |
If true, a global environment object should be created by one of the back-ends.
|
virtual |
If true, a global dynamic terrain object should be created by one of the back-ends to process events that produce dynamic changes to the terrain.
|
virtual |
If true, a global dynamic terrain object should be created by one of the back-ends to process events that produce dynamic changes to the terrain.
|
virtual |
Additional OPD files that will be appended (in the order specified) to the main OPD file for this scenario.
|
virtual |
Additional OPD files that will be appended (in the order specified) to the main OPD file for this scenario.
|
virtual |
Additional OPD files that will be appended (in the order specified) to the main OPD file for this scenario.
|
virtual |
Additional OPD files that will be appended (in the order specified) to the main OPD file for this scenario.
|
virtual |
Additional OPD files that will be appended (in the order specified) to the main OPD file for this scenario.
|
virtual |
Gets/sets the scenario description in the scenarioData() member under the key "ScenarioDescription".
|
virtual |
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Simulation model set files that want to be loaded for this scenario. Note that the first file will be considered the "master" file. All others will merge into the "master" (subsequent model set files that contain .opd files will be considered "additional .opds")
|
virtual |
Access the scenario data key value list. Note that these values are returned as strings so if you're getting something which is a file path (for instance "GuiObserverViews") make sure to use it to initialize a DtFilename and then take the value from that to make sure the slashes in the file path are properly converted.
|
virtual |
Access the scenario data key value list. Note that these values are returned as strings so if you're getting something which is a file path (for instance "GuiObserverViews") make sure to use it to initialize a DtFilename and then take the value from that to make sure the slashes in the file path are properly converted.
|
virtual |
A text name of the scenario. This is descriptive name, and does not directly relate to any files that are stored for the scenario.
|
virtual |
A text name of the scenario. This is descriptive name, and does not directly relate to any files that are stored for the scenario.
|
virtual |
A text name of the scenario. This is descriptive name, and does not directly relate to any files that are stored for the scenario.
|
virtual |
The runtime load balancing scheme is what is used by the front-end to balance entities being created. Since every front-end must use this scheme is it part of the scenario and transmitted over the network as part of the status message. When the scheme is received the remote controller will get the scheme from the load balancing factory and set it as the scheme for creating of new objects.
|
virtual |
The runtime load balancing scheme is what is used by the front-end to balance entities being created. Since every front-end must use this scheme is it part of the scenario and transmitted over the network as part of the status message. When the scheme is received the remote controller will get the scheme from the load balancing factory and set it as the scheme for creating of new objects.
|
virtual |
The remote attachment balancing scheme is used to place objects on a particular back-end that are available for remote configuration. This is used in conjunction with the component attachment table.
|
virtual |
The remote attachment balancing scheme is used to place objects on a particular back-end that are available for remote configuration. This is used in conjunction with the component attachment table.
|
static |
Given a terrain filename, check to see if it exists. If it does not exist and the extension is .map. modify the .map to be .mtd and see if that exists. If that does not exist, return original filename (the same holds true if the extension is not .map). This will help with old (pre 3.10) scenarios that reference supplied VRF .map files that have been converted to .mtd files.
|
virtual |
Functions to determine if value is specifed for these member variables.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Writes itself to file.
|
overridevirtual |
Puts self to file. Override to copy terrain filename to DtRwString form before writing to file.
Reimplemented from DtReaderWriter.
|
virtual |
|
overridevirtual |
Routines to archive/de-archive from an XML Environment.
Reimplemented from DtReaderWriter.
|
overridevirtual |
Gets self from file. Override to copy terrain filename from DtRwString form after reading in from file.
Reimplemented from DtReaderWriter.
|
overridevirtual |
Routines to archive/de-archive from an XML Environment.
Reimplemented from DtReaderWriter.
|
virtual |
Finalize after getSelf calls.
|
virtual |
Returns true if all information necessary to load the scenario is present. If allowEmptyFilenames is false, do not allow empty filenames for order of battle or plan.
|
virtual |
The version of the scenario file.
|
virtual |
Returns true if the files are saved relative to the scenario file.
|
virtual |
Sets version number to current version.
|
static |
Returns current scenario version.
|
virtual |
This will iterate over the simulation model set filenames and replace the harcoded data directory path (../data) if it exists with for future data path resolution. Note that if the sms file is an absolute path this will not be done. Part of this will also resolve the paths as well into the resolved member variable.
|
static |
Reworks the SMS file to replace ../data/ with the actual data directory. The unresolvedFilename, if specified, will contain the SMS result name before path resolution.
|
static |
Replaces the data directory with
|
virtual |
Resovlve simulation model set paths.
|
virtual |
Resolves all data paths.
|
static |
|
static |
|
protectedvirtual |
If the relativeToScenarioFile flag is true, prepend the current scenario path to the file, else leave alone. This method is only applied to: the plan file the global plan file the object map file the order of battle file the overlay file the selection group file the force hostility file the scenario data file.
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
deprecated (kept for backwards compatibility), use myRunUntilTime
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
The version of the scenario file.
|
protected |
Whether or not to treat the file as a zip file when saving.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |