![]() |
VR-Forces Developer's Guide
|
The shared simulation settings.

Classes | |
| struct | SelectionSettings |
Public Types | |
| typedef std::map< DtUUID, ObjectSetting > | ObjectSettingsMap |
Public Member Functions | |
| virtual | ~DtSharedObjectSettings () override |
| virtual void | removeSettings (const DtUUID &) |
| void | setSettings (const DtUUID &, ObjectSetting) |
| ObjectSetting | settingsFor (const DtUUID &) const |
| virtual bool | hasSetting (const DtUUID &) const |
| void | setFlagState (const DtUUID &, ObjectSetting, bool onOff) |
| bool | flagState (const DtUUID &, ObjectSetting) const |
| 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 () |
| virtual bool | setSelectedForDisplay (int setting, const DtUUID &uuid, bool flag) |
| virtual bool | availableToShowForSelection (int setting, const DtUUID &, int shownByDefault=0) const |
| virtual void | removeAllPinnedSettings (int flag) |
| virtual void | setMaximumToDisplayBeforeHidingAllFromSelection (int setting, int maximum, bool replaceIfSet=true) |
| virtual DtUUID | getAvailableUUIDForDisplay (int setting, int shownByDefault=0) const |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| virtual | ~DtSharedSettings () |
| boost::shared_mutex & | mutex () |
| SafetyKey | safeToEmitSignals () |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| virtual const DtSettingsBackup * | settingsBackup () const |
| virtual DtSettingsBackup * | settingsBackup () |
| virtual void | backup () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static std::string | className () |
Protected Types | |
| typedef std::map < ObjectSetting, SelectionSettings > | SelectionSettingsMap |
Protected Member Functions | |
| DtSharedObjectSettings (makVrv::DtSharedSettingsManager &manager) | |
Protected Attributes | |
| ObjectSettingsMap | mySettings |
| SelectionSettingsMap | mySelectionSettingsMap |
Friends | |
| class | makVrv::DtReadSettingsLock< DtSharedObjectSettings > |
| class | makVrv::DtWriteSettingsLock< DtSharedObjectSettings > |
| class | makVrv::DtSharedSettingsManager |
| typedef std::map<DtUUID, ObjectSetting> makVrf::DtSharedObjectSettings::ObjectSettingsMap |
|
protected |
|
overridevirtual |
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 |
Routines that are used to say what items have selected a particular setting for display because it is selected.
|
virtual |
shownByDefault are those items that are selected because they are pinned and not selected optionally
|
virtual |
Clears out all settings that are currently pinned for any object.
|
virtual |
-1 means allow all to be displayed
|
virtual |
Gets the first UUID available that could be used for selection for showing a visualization( shownByDefault are those items that are selected because they are pinned and not selected optionally.
|
virtual |
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
friend |
|
friend |
|
protected |
|
protected |