![]() |
VR-Forces 5.0.3 Developer's Guide
|
Distributed model for keeping RDE display units settings up to date.
Public Member Functions | |
| DtDisplayUnitsSettingsSynchronizer (DtDe &de, DtUniqueID id) | |
| virtual | ~DtDisplayUnitsSettingsSynchronizer () |
Model setters (abstract) | |
| virtual void | setCoordinateSystem (int cs) |
| void | setDisplayUnitUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, unsigned int unitEnumerationValue) |
| void | setDisplayUnitDecimals (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, unsigned int decimals) |
Protected Types | |
Typedef'ed settings record unit types for easy casting | |
| typedef makArchives::DtDisplayUnitsSettingsRecord::CoordSys | CoordSys |
| typedef makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | DistanceUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits | VelocityUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | OrientationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits | AccelerationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::RotVelocityUnits | RotVelocityUnits |
Protected Attributes | |
| DtDisplayUnitsSettingsManager & | mySettingsMgr |
| bool | myIsSlaveFlag |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| makVrv::DtDisplayUnitsSettingsSynchronizer::DtDisplayUnitsSettingsSynchronizer | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the Coordinate System display unit in the 'Application' collection Similar to calling: setDisplayUnitUnit(theApplicationDisplayUnitCollectionName, theCoordinateSystemDisplayUnitName, cs) except this function uses DtDisplayUnitsSettingsManager::setCoordinateSystem instead of DtDisplayUnitsSettingsManager::setDisplayUnitUnit which has slightly different behavior.
| void makVrv::DtDisplayUnitsSettingsSynchronizer::setDisplayUnitUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName, | ||
| unsigned int | unitEnumerationValue | ||
| ) |
Set the unit of measurement used for a display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest |
| unitEnumValue | The unsigned integer value that corresponds to a unit of measurement in a specific Units enumeration, e.g. DtDisplayUnitsSettingsRecord::RotVelocityUnits. |
| void makVrv::DtDisplayUnitsSettingsSynchronizer::setDisplayUnitDecimals | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName, | ||
| unsigned int | decimals | ||
| ) |
Set the unit of measurement used for a display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest |
| decimals | The number of decimal places to use for a given display unit |
|
protected |
|
protected |