VR-Forces 4.8 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. More...
 
void setFromRecord (const makArchives::DtLoaderSettingsRecord &rec)
 Set the loader settings from a record. More...
 
void getRecord (makArchives::DtLoaderSettingsRecord &rec) const
 Get the loader settings as a record. More...
 
const DtLoaderSettingsBackupsettingsBackup () const
 Accessor for the settings backup (const). More...
 
DtLoaderSettingsBackupsettingsBackup ()
 Accessor for the settings backup. More...
 
virtual void backup ()
 Backs up current state using backup settings object. More...
 
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. 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

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

Protected Attributes

int myMetaFlightPerformanceBias
 
bool myDdsFlip
 
float myMetaFlightGeometryOffsetFactor
 
bool myMetaFlightCompressVirtualTextures
 
DtLoaderSettingsBackupmySettingsBackup
 

Friends

class DtReadSettingsLock< DtSharedLoaderSettings >
 Use the DtReadSettingsLock and DtWriteSettingsLock to access the object. More...
 
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 const 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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)