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

Public Member Functions | |
| virtual | ~DtSharedObjectSettings () |
| DTOR. | |
| void | setSettings (const std::string &markingText, ObjectSetting) |
| ObjectSetting | settingsFor (const std::string &markingText) const |
| void | setFlagState (const std::string &markingText, ObjectSetting, bool onOff) |
| bool | flagState (const std::string &, 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) |
Static Public Member Functions | |
| static std::string | className () |
| Get an instance of the settings object. | |
Protected Types | |
| typedef std::map< std::string, ObjectSetting > | ObjectSettingsMap |
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<std::string, ObjectSetting> makVrf::DtSharedObjectSettings::ObjectSettingsMap [protected] |
| virtual makVrf::DtSharedObjectSettings::~DtSharedObjectSettings | ( | ) | [virtual] |
DTOR.
| makVrf::DtSharedObjectSettings::DtSharedObjectSettings | ( | makVrv::DtSharedSettingsManager & | manager | ) | [protected] |
CTOR.
| static std::string makVrf::DtSharedObjectSettings::className | ( | ) | [static] |
Get an instance of the settings object.
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
| void makVrf::DtSharedObjectSettings::setSettings | ( | const std::string & | markingText, |
| ObjectSetting | |||
| ) |
| ObjectSetting makVrf::DtSharedObjectSettings::settingsFor | ( | const std::string & | markingText | ) | const |
| void makVrf::DtSharedObjectSettings::setFlagState | ( | const std::string & | markingText, |
| ObjectSetting | , | ||
| bool | onOff | ||
| ) |
| bool makVrf::DtSharedObjectSettings::flagState | ( | const std::string & | , |
| ObjectSetting | |||
| ) | const |
Return true if enabled.
| virtual void makVrf::DtSharedObjectSettings::write | ( | boost::archive::xml_oarchive & | ar, |
| int | version | ||
| ) | const [virtual] |
| virtual void makVrf::DtSharedObjectSettings::read | ( | boost::archive::xml_iarchive & | ar, |
| int | version | ||
| ) | [virtual] |
friend class makVrv::DtReadSettingsLock< DtSharedObjectSettings > [friend] |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
friend class makVrv::DtWriteSettingsLock< DtSharedObjectSettings > [friend] |
friend class makVrv::DtSharedSettingsManager [friend] |