![]() |
VR-Forces Development_Version Class Documentation
|
This class maintains the track history settings. More...

Public Member Functions | |
| virtual | ~DtSharedTrackHistorySettings () |
| DTOR. | |
Setting Getters/Setters | |
| virtual int | trackHistoryRibbonLength () const |
| Gets the maximum track history ribbon length (in samples). | |
| virtual void | setTrackHistoryRibbonLength (int maxSamples) |
| Sets the maximum track history ribbon length (in samples). | |
| virtual float | trackHistoryRibbonSpacing () const |
| Gets the spacing between track history ribbon samples (in meters). | |
| virtual void | setTrackHistoryRibbonSpacing (float spacing) |
| Sets the spacing between track history ribbon samples (in meters). | |
| virtual bool | trackHistoryRibbonInfinite () const |
| Gets whether the track history ribbon is 'infinitely' long (250k samples). | |
| virtual void | setTrackHistoryRibbonInfinite (bool isInfinite) |
| Sets whether the track history ribbon is 'infinitely' long (250k samples). | |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtTrackHistorySettingsRecord &rec) |
| Restore the settings from a record. | |
| void | getRecord (makArchives::DtTrackHistorySettingsRecord &rec) const |
| Get the settings as a record. | |
| virtual const DtTrackHistorySettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtTrackHistorySettingsBackup * | 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 | |
| DtSharedTrackHistorySettings (DtSharedSettingsManager &manager) | |
| Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). | |
Protected Attributes | |
| int | myTrackHistoryRibbonLength |
| float | myTrackHistoryRibbonSpacing |
| bool | myTrackHistoryInfiniteFlag |
| DtTrackHistorySettingsBackup * | mySettingsBackup |
Friends | |
| class | DtReadSettingsLock< DtSharedTrackHistorySettings > |
| Use the DtReadSettingsLock to read the object. | |
| class | DtWriteSettingsLock< DtSharedTrackHistorySettings > |
| Use the DtWriteSettingsLock to write to the object. | |
This class maintains the track history settings.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
|
virtual |
Gets the maximum track history ribbon length (in samples).
|
virtual |
Sets the maximum track history ribbon length (in samples).
|
virtual |
Gets the spacing between track history ribbon samples (in meters).
|
virtual |
Sets the spacing between track history ribbon samples (in meters).
|
virtual |
Gets whether the track history ribbon is 'infinitely' long (250k samples).
|
virtual |
Sets whether the track history ribbon is 'infinitely' long (250k samples).
| void makVrv::DtSharedTrackHistorySettings::setFromRecord | ( | const makArchives::DtTrackHistorySettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedTrackHistorySettings::getRecord | ( | makArchives::DtTrackHistorySettingsRecord & | 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 |