![]() |
VR-Forces 4.2 Class Documentation
|
The class that will contain information about various scenario settings. More...

Public Member Functions | |
| DtVrfSessionSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtVrfSessionSettingsManager () |
| virtual void | setHelpFile (const std::string &, bool save=false) |
| Sets the help file to use when pressing the F1 key. | |
| virtual std::string | helpFile () const |
| virtual void | setDefaultScenarioFile (const std::string &f, bool save=false) |
| Sets the scenario file used as the default when creating a new scenario. | |
| virtual std::string | defaultScenarioFile () const |
| virtual void | setDefaultSimulationModelSetFile (const std::string &f, bool save=false) |
| Sets the default .sms file to use when loading a scenario if none is found in the scenario to be loaded. | |
| virtual std::string | defaultSimulationModelSetFile () const |
| virtual void | setFromRecord (const DtVrfSessionSettingsRecord &rec) |
| virtual void | loadDefaultSessionSettings (bool loadOnlyFactorySettings=false) |
| virtual void | getRecord (DtVrfSessionSettingsRecord &rec) const |
| virtual void | setAutoSave (bool) |
| Set to false to not save on settings change. Default is true. | |
| virtual bool | autoSave () const |
| virtual bool | autoJoinSession () const |
| Access to session record information. | |
| virtual bool | askToJoin () const |
| virtual bool | alwaysJoinWithSessionDatabase () const |
| virtual bool | zoomToScenarioExtentsOnLoad () const |
| virtual bool | alwaysJoinWithOpenDatabase () const |
| makVrv::DtRecordSettingsBackupInterface * | sessionSettingsBackup () |
| void | exportSessionSettings (const std::string &fileName) |
| Exports the current cache settings to a file. | |
| void | importSessionSettings (const std::string &fileName) |
| Import the current cache settings from a file. | |
| virtual void | setDoNotShowSessionStartupDialog (bool) |
| Sets whether or not to show the startup session dialog. | |
| bool | showSessionStartupDialog () const |
| virtual void | setDisplaySessionDialogs (bool) |
| Shows/does not show session settings dialog. | |
| virtual bool | displaySessionDialogs () const |
| virtual void | setDisplayCorrelationWarningMessages (bool) |
| Shows/does not show correlation warnings dialog. | |
| virtual bool | displayCorrelationWarningMessages () const |
| virtual void | setStartupPreference (int) |
| Preference on startup (new scenario on VR-TheWorldServer, new scenario, or load scenario) | |
| int | startupPreference () const |
| virtual void | setAggregateOnCreate (bool) |
| Sets to whether or not create aggregates as true aggregates (true) or psuedo aggregates (false) when initially created. | |
| bool | aggregateOnCreate () const |
| virtual void | setUserDefinedSmoothing (bool) |
| Sets whether or not the user or system is defining smoothing in performance options. | |
| bool | userDefinedSmoothing () const |
| virtual void | setShowScenarioDescriptionDialog (bool b) |
| Sets whether or not to show scenario description message box. | |
| virtual bool | showScenarioDescriptionDialog () const |
| virtual void | saveSettingsAsDefault () |
| Saves if auto-save is turned on. | |
Static Public Member Functions | |
| static DtVrfSessionSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
| static void | registerInstance (makVrv::DtDe &de, DtVrfSessionSettingsManager *) |
Public Attributes | |
| boost::signal< void(const DtVrfSessionSettingsRecord &)> | signal_sessionSettingsChanged |
| Sent when session settings have changed. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfSessionSettingsRecord | mySessionSettings |
| makVrv::DtRecordSettingsBackupInterface * | mySessionSettingsBackup |
The class that will contain information about various scenario settings.
| makVrf::DtVrfSessionSettingsManager::DtVrfSessionSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Sets the help file to use when pressing the F1 key.
Note this will be a permanent change and will be using that file the next time the application is started if the save flag is true. By default is false
|
virtual |
|
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 |
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 |
|
virtual |
Set to false to not save on settings change. Default is true.
|
virtual |
|
virtual |
Access to session record information.
To set, get record and then reset vis setFromRecord
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
| void makVrf::DtVrfSessionSettingsManager::exportSessionSettings | ( | const std::string & | fileName | ) |
Exports the current cache settings to a file.
| void makVrf::DtVrfSessionSettingsManager::importSessionSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
|
virtual |
Sets whether or not to show the startup session dialog.
| bool makVrf::DtVrfSessionSettingsManager::showSessionStartupDialog | ( | ) | const |
|
virtual |
Shows/does not show session settings dialog.
|
virtual |
|
virtual |
Shows/does not show correlation warnings dialog.
|
virtual |
|
virtual |
Preference on startup (new scenario on VR-TheWorldServer, new scenario, or load scenario)
| int makVrf::DtVrfSessionSettingsManager::startupPreference | ( | ) | const |
|
virtual |
Sets to whether or not create aggregates as true aggregates (true) or psuedo aggregates (false) when initially created.
Default is false
| bool makVrf::DtVrfSessionSettingsManager::aggregateOnCreate | ( | ) | const |
|
virtual |
Sets whether or not the user or system is defining smoothing in performance options.
| bool makVrf::DtVrfSessionSettingsManager::userDefinedSmoothing | ( | ) | const |
|
virtual |
Sets whether or not to show scenario description message box.
|
virtual |
|
virtual |
Saves if auto-save is turned on.
| boost::signal<void (const DtVrfSessionSettingsRecord&)> makVrf::DtVrfSessionSettingsManager::signal_sessionSettingsChanged |
Sent when session settings have changed.
|
protected |
|
protected |
|
protected |