![]() |
VR-Forces 4.6 Class Documentation
|
This class maintains the diguy settings. More...

Public Member Functions | |
| virtual | ~DtSharedDiGuySettings () |
| DTOR. | |
Setting Getters/Setters | |
| virtual bool | instancingEnabled () const |
| Gets whether or not diguy instancing is enabled. | |
| virtual void | setInstancingEnabled (bool enabled) |
| Sets whether or not diguy instancing is enabled. | |
| virtual int | instancedLod () const |
| Gets lod to use for instanced diguys (1-7) | |
| virtual void | setInstancedLod (int lod) |
| Sets lod to use for instanced diguys (1-7) | |
| virtual bool | visualizeInstancing () const |
| Gets whether or not visualizing diguy instancing is enabled. | |
| virtual void | setVisualizeInstancing (bool enabled) |
| Sets whether or not visualizing diguy instancing is enabled. | |
| virtual float | maxDrawDistance () const |
| Gets Maximum distance to draw diguys (-1 is no limit) | |
| virtual void | setMaxDrawDistance (float distance) |
| Sets Maximum distance to draw diguys (-1 is no limit) | |
| virtual bool | multiThreadUpdate () const |
| Gets whether or not multiple threads will be used for diguy updates. | |
| virtual void | setMultiThreadUpdate (bool enabled) |
| Sets whether or not multiple threads will be used for diguy updates. | |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtDiGuySettingsRecord &rec) |
| Restore the settings from a record. | |
| void | getRecord (makArchives::DtDiGuySettingsRecord &rec) const |
| Get the settings as a record. | |
| virtual const DtDiGuySettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtDiGuySettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
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 | |
| DtSharedDiGuySettings (DtSharedSettingsManager &manager) | |
| Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). | |
Friends | |
| class | DtReadSettingsLock< DtSharedDiGuySettings > |
| Use the DtReadSettingsLock to read the object. | |
| class | DtWriteSettingsLock< DtSharedDiGuySettings > |
| Use the DtWriteSettingsLock to write to the object. | |
This class maintains the diguy settings.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
|
virtual |
Gets whether or not diguy instancing is enabled.
|
virtual |
Sets whether or not diguy instancing is enabled.
|
virtual |
Gets lod to use for instanced diguys (1-7)
|
virtual |
Sets lod to use for instanced diguys (1-7)
|
virtual |
Gets whether or not visualizing diguy instancing is enabled.
|
virtual |
Sets whether or not visualizing diguy instancing is enabled.
|
virtual |
Gets Maximum distance to draw diguys (-1 is no limit)
|
virtual |
Sets Maximum distance to draw diguys (-1 is no limit)
|
virtual |
Gets whether or not multiple threads will be used for diguy updates.
|
virtual |
Sets whether or not multiple threads will be used for diguy updates.
| void makVrv::DtSharedDiGuySettings::setFromRecord | ( | const makArchives::DtDiGuySettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedDiGuySettings::getRecord | ( | makArchives::DtDiGuySettingsRecord & | rec | ) | const |
Get the settings as a record.
|
virtual |
Accessor for the settings backup (const).
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Accessor for the settings backup.
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Called to back up the settings.
Reimplemented from makVrv::DtSharedSettings.
|
static |
The class name for this settings object.
|
friend |
Use the DtReadSettingsLock to read the object.
|
friend |
Use the DtWriteSettingsLock to write to the object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |