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

Public Member Functions | |
| DtVrfSessionSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtVrfSessionSettingsManager () |
| virtual void | setFromRecord (const DtVrfSessionSettingsRecord &rec) |
| virtual void | loadDefaultSessionSettings (bool loadOnlyFactorySettings=false) |
| virtual void | getRecord (DtVrfSessionSettingsRecord &rec) const |
| virtual void | getSplitRecord (std::vector< DtVrfSessionSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| To support writing element definitions in folders as multiple files not implemented. | |
| virtual void | addRecords (DtVrfSessionSettingsRecord &recs, DtVrfSessionSettingsRecord &combinedRec) |
| To support writing element definitions in folders as multiple files not implemented. | |
| 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 | automaticallyOpenSessionDatabaseWithoutJoiningSession () const |
| virtual bool | askToJoin () const |
| virtual bool | alwaysJoinWithSessionDatabase () const |
| virtual bool | alwaysJoinWithOpenDatabase () const |
| virtual void | setDisplaySessionDialogs (bool) |
| Shows/does not show session settings dialog. | |
| virtual bool | displaySessionDialogs () 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 | saveSettingsAsDefault () |
| Saves if auto-save is turned on. | |
| virtual void | setAllowScenarioChanges (bool) |
| When loading a scenario or looking at scenario information, allow aspects of the scenario to be changed. | |
| virtual bool | allowScenarioChanges () const |
| virtual void | addValueFor (const DtUUID &, const std::string &key, const std::string &value) |
| Adds some strings by unique id that can be used for whatever purpose the adder wants. | |
| virtual void | removeValueFor (const DtUUID &, const std::string &key) |
| virtual void | removeValuesFor (const DtUUID &) |
| virtual std::string | valueFor (const DtUUID &, const std::string &key) const |
| virtual void | setBackendTimeoutInterval (int) |
| Length of time (in seconds) to wait before timing out back-end. Default is 10 minutes (600 seconds) | |
| virtual int | backendTimeoutInterval () const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
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 Types | |
| typedef boost::unordered_map < std::string, std::string > | KeyValuePairs |
| typedef boost::unordered_map < DtUUID, KeyValuePairs > | KeyValuePairsByUUID |
| typedef boost::unordered_map < DtString, DtUUID > | UUIDByMarkingText |
The class that will contain information about various scenario settings.
|
protected |
|
protected |
|
protected |
| makVrf::DtVrfSessionSettingsManager::DtVrfSessionSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
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 |
Access to session record information.
To set, get record and then reset vis setFromRecord
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Shows/does not show session settings dialog.
|
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 |
Saves if auto-save is turned on.
|
virtual |
When loading a scenario or looking at scenario information, allow aspects of the scenario to be changed.
|
virtual |
|
virtual |
Adds some strings by unique id that can be used for whatever purpose the adder wants.
This does not get saved to any file
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Length of time (in seconds) to wait before timing out back-end. Default is 10 minutes (600 seconds)
|
virtual |
| boost::signal<void (const DtVrfSessionSettingsRecord&)> makVrf::DtVrfSessionSettingsManager::signal_sessionSettingsChanged |
Sent when session settings have changed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |