VR-Forces 4.6 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::DtSharedLoaderSettings Class Reference

The shared loader settings. More...

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

Public Member Functions

virtual ~DtSharedLoaderSettings ()
 DTOR.
void setFromRecord (const makArchives::DtLoaderSettingsRecord &rec)
 Set the loader settings from a record.
void getRecord (makArchives::DtLoaderSettingsRecord &rec) const
 Get the loader settings as a record.
const DtLoaderSettingsBackupsettingsBackup () const
 Accessor for the settings backup (const).
DtLoaderSettingsBackupsettingsBackup ()
 Accessor for the settings backup.
virtual void backup ()
 Backs up current state using backup settings object.
Settings getters/setters
bool ddsFlip () const
void setDdsFlip (bool flip)
int metaFlightPerformanceBias () const
void setMetaFlightPerformanceBias (int setting)
float metaFlightGeometryOffsetFactor () const
void setMetaFlightGeometryOffsetFactor (float val)
bool metaFlightCompressVirtualTextures () const
void setMetaFlightCompressVirtualTextures (bool val)
- Public Member Functions inherited from makVrv::DtSharedSettings
 DtSharedSettings (const DtSharedSettingsManager &manager)
 CTOR.
virtual ~DtSharedSettings ()
 DTOR.
boost::shared_mutex & mutex ()
 Get the mutex for the settings object.
SafetyKey safeToEmitSignals ()
 Create a safety key for the function, see above example.
void setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock)
 No need to call, set by the DtWriteSettingLock object.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

int myMetaFlightPerformanceBias
bool myDdsFlip
float myMetaFlightGeometryOffsetFactor
bool myMetaFlightCompressVirtualTextures
DtLoaderSettingsBackupmySettingsBackup

Friends

class DtReadSettingsLock< DtSharedLoaderSettings >
 Use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
class DtWriteSettingsLock< DtSharedLoaderSettings >
class DtSharedSettingsManager

Detailed Description

The shared loader settings.

Constructor & Destructor Documentation

virtual makVrv::DtSharedLoaderSettings::~DtSharedLoaderSettings ( )
virtual

DTOR.

makVrv::DtSharedLoaderSettings::DtSharedLoaderSettings ( DtSharedSettingsManager manager)
protected

Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).

Member Function Documentation

bool makVrv::DtSharedLoaderSettings::ddsFlip ( ) const
void makVrv::DtSharedLoaderSettings::setDdsFlip ( bool  flip)
int makVrv::DtSharedLoaderSettings::metaFlightPerformanceBias ( ) const
void makVrv::DtSharedLoaderSettings::setMetaFlightPerformanceBias ( int  setting)
float makVrv::DtSharedLoaderSettings::metaFlightGeometryOffsetFactor ( ) const
void makVrv::DtSharedLoaderSettings::setMetaFlightGeometryOffsetFactor ( float  val)
bool makVrv::DtSharedLoaderSettings::metaFlightCompressVirtualTextures ( ) const
void makVrv::DtSharedLoaderSettings::setMetaFlightCompressVirtualTextures ( bool  val)
void makVrv::DtSharedLoaderSettings::setFromRecord ( const makArchives::DtLoaderSettingsRecord rec)

Set the loader settings from a record.

void makVrv::DtSharedLoaderSettings::getRecord ( makArchives::DtLoaderSettingsRecord rec) const

Get the loader settings as a record.

const DtLoaderSettingsBackup* makVrv::DtSharedLoaderSettings::settingsBackup ( ) const
inlinevirtual

Accessor for the settings backup (const).

Exceptions
DtCorruptedStateRe-implement to use.

Reimplemented from makVrv::DtSharedSettings.

DtLoaderSettingsBackup* makVrv::DtSharedLoaderSettings::settingsBackup ( )
inlinevirtual

Accessor for the settings backup.

Exceptions
DtCorruptedStateRe-implement to use.

Reimplemented from makVrv::DtSharedSettings.

virtual void makVrv::DtSharedLoaderSettings::backup ( )
virtual

Backs up current state using backup settings object.

Reimplemented from makVrv::DtSharedSettings.

static std::string makVrv::DtSharedLoaderSettings::className ( )
static

The class name for this settings object.

Friends And Related Function Documentation

Use the DtReadSettingsLock and DtWriteSettingsLock to access the object.

friend class DtSharedSettingsManager
friend

Member Data Documentation

int makVrv::DtSharedLoaderSettings::myMetaFlightPerformanceBias
protected
bool makVrv::DtSharedLoaderSettings::myDdsFlip
protected
float makVrv::DtSharedLoaderSettings::myMetaFlightGeometryOffsetFactor
protected
bool makVrv::DtSharedLoaderSettings::myMetaFlightCompressVirtualTextures
protected
DtLoaderSettingsBackup* makVrv::DtSharedLoaderSettings::mySettingsBackup
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)