VR-Forces 4.2 Class Documentation
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrf::DtSharedObjectSettings Class Reference

The shared simulation settings. More...

Inheritance diagram for makVrf::DtSharedObjectSettings:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string,
ObjectSetting
ObjectSettingsMap

Public Member Functions

virtual ~DtSharedObjectSettings ()
 DTOR.
virtual void removeSettings (const std::string &markingText)
 Removes the settings associated with the specified marking text.
void setSettings (const std::string &markingText, ObjectSetting)
ObjectSetting settingsFor (const std::string &markingText) const
virtual bool hasSetting (const std::string &markingText) const
 Returns true if a setting exists for this object.
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)
const ObjectSettingsMapsettingsMap () const

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

Detailed Description

The shared simulation settings.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrf::DtSharedObjectSettings::~DtSharedObjectSettings ( )
virtual

DTOR.

makVrf::DtSharedObjectSettings::DtSharedObjectSettings ( makVrv::DtSharedSettingsManager &  manager)
protected

CTOR.

Member Function Documentation

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.

virtual void makVrf::DtSharedObjectSettings::removeSettings ( const std::string &  markingText)
virtual

Removes the settings associated with the specified marking text.

void makVrf::DtSharedObjectSettings::setSettings ( const std::string &  markingText,
ObjectSetting   
)
ObjectSetting makVrf::DtSharedObjectSettings::settingsFor ( const std::string &  markingText) const
virtual bool makVrf::DtSharedObjectSettings::hasSetting ( const std::string &  markingText) const
virtual

Returns true if a setting exists for this object.

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
const ObjectSettingsMap& makVrf::DtSharedObjectSettings::settingsMap ( ) const

Friends And Related Function Documentation

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

Member Data Documentation

ObjectSettingsMap makVrf::DtSharedObjectSettings::mySettings
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)