VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtSharedInterestManagementSettings Class Reference

Object responsible for storing the settings regarding interest management (DDM). More...

Inheritance diagram for makVrv::DtSharedInterestManagementSettings:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtSharedInterestManagementSettings ()
 DTOR. More...
 
void setFromRecord (const makArchives::DtInterestManagementRecord &rec)
 Set the interest management settings from a record. More...
 
void getRecord (makArchives::DtInterestManagementRecord &rec) const
 Get the interest management settings as a record. More...
 
virtual const
DtInterestManagementSettingsBackup
settingsBackup () const
 Accessor for the settings backup (const). More...
 
virtual
DtInterestManagementSettingsBackup
settingsBackup ()
 Accessor for the settings backup. More...
 
virtual void backup ()
 Called to back up the settings. More...
 
Setting setters/getters
void setDdmRegionSize (int size)
 
int ddmRegionSize () const
 
void setRegionUpdateThreshold (int percentage)
 
int regionUpdateThreshold () const
 
void setAltitudeThresholdEnabled (bool enabled)
 
bool altitudeThresholdEnabled () const
 
void setAltitudeThreshold (int threshold)
 
int altitudeThreshold () const
 
- Public Member Functions inherited from makVrv::DtSharedSettings
 DtSharedSettings (const DtSharedSettingsManager &manager)
 CTOR. More...
 
virtual ~DtSharedSettings ()
 DTOR. More...
 
boost::shared_mutex & mutex ()
 Get the mutex for the settings object. More...
 
SafetyKey safeToEmitSignals ()
 Create a safety key for the function, see above example. More...
 
void setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock)
 No need to call, set by the DtWriteSettingLock object. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static const std::string & className ()
 The class name for this settings object. More...
 

Protected Member Functions

 DtSharedInterestManagementSettings (DtSharedSettingsManager &manager)
 Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). More...
 

Protected Attributes

int myDdmRegionSize
 
int myRegionUpdateThreshold
 
bool myAltitudeThresholdEnabled
 
int myAltitudeThreshold
 
DtInterestManagementSettingsBackupmySettingsBackup
 

Friends

class DtReadSettingsLock< DtSharedInterestManagementSettings >
 Use the DtWriteSettingsLock to read the object. More...
 
class DtWriteSettingsLock< DtSharedInterestManagementSettings >
 Use the DtWriteSettingsLock to write to the object. More...
 

Detailed Description

Object responsible for storing the settings regarding interest management (DDM).

Constructor & Destructor Documentation

virtual makVrv::DtSharedInterestManagementSettings::~DtSharedInterestManagementSettings ( )
virtual

DTOR.

makVrv::DtSharedInterestManagementSettings::DtSharedInterestManagementSettings ( DtSharedSettingsManager manager)
protected

Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).

Member Function Documentation

void makVrv::DtSharedInterestManagementSettings::setDdmRegionSize ( int  size)
int makVrv::DtSharedInterestManagementSettings::ddmRegionSize ( ) const
void makVrv::DtSharedInterestManagementSettings::setRegionUpdateThreshold ( int  percentage)
int makVrv::DtSharedInterestManagementSettings::regionUpdateThreshold ( ) const
void makVrv::DtSharedInterestManagementSettings::setAltitudeThresholdEnabled ( bool  enabled)
bool makVrv::DtSharedInterestManagementSettings::altitudeThresholdEnabled ( ) const
void makVrv::DtSharedInterestManagementSettings::setAltitudeThreshold ( int  threshold)
int makVrv::DtSharedInterestManagementSettings::altitudeThreshold ( ) const
void makVrv::DtSharedInterestManagementSettings::setFromRecord ( const makArchives::DtInterestManagementRecord rec)

Set the interest management settings from a record.

void makVrv::DtSharedInterestManagementSettings::getRecord ( makArchives::DtInterestManagementRecord rec) const

Get the interest management settings as a record.

virtual const DtInterestManagementSettingsBackup* makVrv::DtSharedInterestManagementSettings::settingsBackup ( ) const
virtual

Accessor for the settings backup (const).

Reimplemented from makVrv::DtSharedSettings.

virtual DtInterestManagementSettingsBackup* makVrv::DtSharedInterestManagementSettings::settingsBackup ( )
virtual

Accessor for the settings backup.

Reimplemented from makVrv::DtSharedSettings.

virtual void makVrv::DtSharedInterestManagementSettings::backup ( )
virtual

Called to back up the settings.

Reimplemented from makVrv::DtSharedSettings.

static const std::string& makVrv::DtSharedInterestManagementSettings::className ( )
static

The class name for this settings object.

Friends And Related Function Documentation

Use the DtWriteSettingsLock to read the object.

Use the DtWriteSettingsLock to write to the object.

Member Data Documentation

int makVrv::DtSharedInterestManagementSettings::myDdmRegionSize
protected
int makVrv::DtSharedInterestManagementSettings::myRegionUpdateThreshold
protected
bool makVrv::DtSharedInterestManagementSettings::myAltitudeThresholdEnabled
protected
int makVrv::DtSharedInterestManagementSettings::myAltitudeThreshold
protected
DtInterestManagementSettingsBackup* makVrv::DtSharedInterestManagementSettings::mySettingsBackup
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)