![]() |
VR-Forces Developer's Guide
|
The class that will contain information about various scenario settings.

Static Public Member Functions | |
| static DtVrfSimulationSettingsManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &de, DtVrfSimulationSettingsManager *) |
Public Attributes | |
| boost::signals2::signal< void(const DtVrfSimulationSettingsRecord &)> | signal_simulationSettingsChanged |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfSimulationSettingsRecord | mySimulationSettings |
| makVrv::DtRecordSettingsBackupInterface * | mySimulationSettingsBackup |
| DtFilename | myPeriodicCheckpointDirectory |
| makVrf::DtVrfSimulationSettingsManager::DtVrfSimulationSettingsManager | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Sets the scenario file used as the default when creating a new scenario. If save is true will make this change permanent.
|
virtual |
|
virtual |
Simulation object group terrain to use when editing simulation object groups.
|
virtual |
|
virtual |
Sets the default .sms file to use when loading a scenario if none is found in the scenario to be loaded. If save is true will make change permanent.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
virtual |
Set to false to not save on settings change. Default is true.
|
virtual |
|
virtual |
Sets whether or not to always check for unused triggers when saving plan.
|
virtual |
|
virtual |
The default scenario start time.
|
virtual |
|
virtual |
The default scenario environment condition.
|
virtual |
|
virtual |
Sets whether or not snapshots are periodically saved to disk (checkpointed)
|
virtual |
|
virtual |
Checkpoint every nth snapshot. For example, if snapshots are taken every 30 seconds a checkpoint frequency of 4 saves a checkpoint every two minutes.
|
virtual |
|
virtual |
Sets the directory to save checkpoints to. If blank saves to scenario directory.
|
virtual |
|
inline |
|
inline |
| void makVrf::DtVrfSimulationSettingsManager::exportSimulationSettings | ( | const std::string & | fileName | ) |
Exports the current cache settings to a file.
| void makVrf::DtVrfSimulationSettingsManager::importSimulationSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
|
virtual |
Preference on which terrain to use when creating a new scenario.
|
virtual |
|
virtual |
Preference on which scenario to use when loading a new scenario. Blank means choose.
|
virtual |
|
virtual |
Preference on which simulation model set to use when loading a new scenario.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Saves if auto-save is turned on.
|
virtual |
Sets the simulation model set configurations. See DtVrfSimulationSettingsRecord for format.
|
virtual |
|
virtual |
If a model set configuration with the exact name exists then it will be replaced with this configuration.
|
virtual |
Removed named configuration.
|
virtual |
Whether or not to automatically try and start any missing back-ends when loading a scenario locally. Default is false.
|
virtual |
| boost::signals2::signal<void (const DtVrfSimulationSettingsRecord&)> makVrf::DtVrfSimulationSettingsManager::signal_simulationSettingsChanged |
Sent when session settings have changed.
|
protected |
|
protected |
|
protected |
|
protected |