![]() |
VR-Forces Development_Version Class Documentation
|
The Master DtObjectSettingsManager. More...

Classes | |
| struct | ObjectSettingStruct |
Public Types | |
| typedef std::vector < ObjectSettingStruct > | ObjectSettings |
Public Member Functions | |
| DtObjectSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtObjectSettingsManager () |
| virtual void | removeSettings (const DtUUID &) |
| Removes the settings associated with the specified marking text. | |
| virtual void | removeAll () |
| Removes all settings from system. | |
| virtual void | setSettings (const DtUUID &, ObjectSetting) |
| ObjectSetting | settingsFor (const DtUUID &) const |
| virtual DtObjectSettingsManager::ObjectSettingStruct | addSetting (const makVrv::DtUnicode &, ObjectSetting, std::set< makVrv::DtElementEntry::ElementType > validFor) |
| virtual void | removeSetting (ObjectSetting) |
| ObjectSetting | settingFor (const makVrv::DtUnicode &) |
| makVrv::DtUnicode | settingNameFor (ObjectSetting) |
| bool | flagState (const DtUUID &, ObjectSetting) const |
| Return true if enabled. | |
| virtual void | setFlagState (const DtUUID &, ObjectSetting, bool onOff) |
| const ObjectSettings & | objectSettings () const |
| virtual bool | hasSetting (const DtUUID &) const |
| virtual void | protect () |
| Protect items from next removal. | |
Static Public Member Functions | |
| static DtObjectSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
| static void | registerInstance (makVrv::DtDe &, DtObjectSettingsManager *) |
Protected Types | |
| typedef std::map< DtUUID, bool > | ProtectedFromRemoval |
Protected Member Functions | |
| virtual void | init () |
| virtual void | write (boost::archive::xml_oarchive &ar, int version) const |
| virtual void | read (boost::archive::xml_iarchive &ar, int version) |
| virtual void | slot_onObjectAboutToBeRemoved (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| When an object is removed, remove any settings. | |
| virtual void | slot_onObjectAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *p) |
| Called when an object is added, setup the current settings for this object, if they exist. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| ObjectSettings | myObjectSettings |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| ProtectedFromRemoval | myProtectedFromRemoval |
The Master DtObjectSettingsManager.
| typedef std::vector<ObjectSettingStruct> makVrf::DtObjectSettingsManager::ObjectSettings |
|
protected |
| makVrf::DtObjectSettingsManager::DtObjectSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Removes the settings associated with the specified marking text.
|
virtual |
Removes all settings from system.
|
virtual |
| ObjectSetting makVrf::DtObjectSettingsManager::settingsFor | ( | const DtUUID & | ) | const |
|
virtual |
Reimplemented in makVrf::DtObjectSettingsManagerQt.
|
virtual |
Reimplemented in makVrf::DtObjectSettingsManagerQt.
| ObjectSetting makVrf::DtObjectSettingsManager::settingFor | ( | const makVrv::DtUnicode & | ) |
| makVrv::DtUnicode makVrf::DtObjectSettingsManager::settingNameFor | ( | ObjectSetting | ) |
| bool makVrf::DtObjectSettingsManager::flagState | ( | const DtUUID & | , |
| ObjectSetting | |||
| ) | const |
Return true if enabled.
|
virtual |
| const ObjectSettings& makVrf::DtObjectSettingsManager::objectSettings | ( | ) | const |
|
virtual |
Protect items from next removal.
|
protectedvirtual |
|
protectedvirtual |
Implements makVrf::DtGuiSetting.
|
protectedvirtual |
Implements makVrf::DtGuiSetting.
|
protectedvirtual |
When an object is removed, remove any settings.
|
protectedvirtual |
Called when an object is added, setup the current settings for this object, if they exist.
|
protected |
|
protected |
|
protected |
|
protected |