![]() |
VR-Forces 4.5 Class Documentation
|
The shared simulation settings. More...

Public Types | |
| typedef std::map< DtUUID, ObjectSetting > | ObjectSettingsMap |
Public Member Functions | |
| virtual | ~DtSharedObjectSettings () |
| DTOR. | |
| virtual void | removeSettings (const DtUUID &) |
| Removes the settings associated with the specified marking text. | |
| void | setSettings (const DtUUID &, ObjectSetting) |
| ObjectSetting | settingsFor (const DtUUID &) const |
| virtual bool | hasSetting (const DtUUID &) const |
| Returns true if a setting exists for this object. | |
| void | setFlagState (const DtUUID &, ObjectSetting, bool onOff) |
| bool | flagState (const DtUUID &, ObjectSetting) const |
| Return true if enabled. | |
| virtual void | write (boost::archive::xml_oarchive &ar, int version) const |
| virtual void | read (boost::archive::xml_iarchive &ar, int version) |
| const ObjectSettingsMap & | settingsMap () const |
| virtual void | settingsLoaded () |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. | |
| virtual | ~DtSharedSettings () |
| DTOR. | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. | |
| virtual const DtSettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtSettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static std::string | className () |
| Get an instance of the settings object. | |
Protected Member Functions | |
| DtSharedObjectSettings (makVrv::DtSharedSettingsManager &manager) | |
| CTOR. | |
Protected Attributes | |
| ObjectSettingsMap | mySettings |
Friends | |
| class | makVrv::DtReadSettingsLock< DtSharedObjectSettings > |
| Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object. | |
| class | makVrv::DtWriteSettingsLock< DtSharedObjectSettings > |
| class | makVrv::DtSharedSettingsManager |
The shared simulation settings.
| typedef std::map<DtUUID, ObjectSetting> makVrf::DtSharedObjectSettings::ObjectSettingsMap |
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings object.
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
virtual |
Removes the settings associated with the specified marking text.
| void makVrf::DtSharedObjectSettings::setSettings | ( | const DtUUID & | , |
| ObjectSetting | |||
| ) |
| ObjectSetting makVrf::DtSharedObjectSettings::settingsFor | ( | const DtUUID & | ) | const |
Returns true if a setting exists for this object.
| void makVrf::DtSharedObjectSettings::setFlagState | ( | const DtUUID & | , |
| ObjectSetting | , | ||
| bool | onOff | ||
| ) |
| bool makVrf::DtSharedObjectSettings::flagState | ( | const DtUUID & | , |
| ObjectSetting | |||
| ) | const |
Return true if enabled.
|
virtual |
|
virtual |
| const ObjectSettingsMap& makVrf::DtSharedObjectSettings::settingsMap | ( | ) | const |
|
virtual |
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
friend |
|
friend |
|
protected |