![]() |
VR-Forces Developer's Guide
|
The Display Units Settings signaler class is used to inform other Vantage components of changes to the display units settings. An example component that is interested in changes to the display units settings is the Height Above Terrain (HAT) lines which updates the altitude text based on the display unit settings for different object types, e.g. Fixed Wing.

Public Member Functions | |
| virtual | ~DtDisplayUnitsSettingsSignaler () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtDisplayUnitsSettingsSignaler & | instance (const DtSharedSettingsManager &) |
| static DtDisplayUnitsSettingsSignaler & | instance (DtEventQueueInterface &) |
| static DtDisplayUnitsSettingsSignaler * | findInstance (DtEventQueueInterface *) |
Public Attributes | |
Signals | |
| event_signal< void(const DtUnicode &, const DtUnicode &, unsigned int, unsigned int)> | signal_displayUnitChanged |
| event_signal< void(const DtUnicode &, const DtUnicode &, unsigned int, unsigned int)> | signal_displayUnitDecimalsChanged |
| event_signal< void(bool)> | signal_suppressMagneticNorthNotationEnabledChanged |
Protected Member Functions | |
| DtDisplayUnitsSettingsSignaler (DtEventQueueInterface &eqi) | |
Private Member Functions | |
| DtDisplayUnitsSettingsSignaler (const DtDisplayUnitsSettingsSignaler &) | |
| DtDisplayUnitsSettingsSignaler & | operator= (const DtDisplayUnitsSettingsSignaler &) |
|
virtual |
DTOR.
|
protected |
Protected CTOR ( Use ::instance(..) )
|
private |
|
static |
Get the instance of the signaler using the shared settings manager.
|
static |
Get the instance of the signaler using the event queue interface.
|
static |
Find the instance of the signaler using the event queue interface.
| NULL | if the instance does not exist. |
|
private |
| event_signal<void (const DtUnicode&, const DtUnicode&, unsigned int, unsigned int)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayUnitChanged |
Signals that the active display unit for the given type has changed.
| _1 | Indicates the specific display unit collection name that changed. |
| _2 | Indicates the specific display unit name that changed. |
| _3 | Indicates the new active unit of measurement for the display unit. |
| _4 | Indicates the old unit of measurement for the display unit. |
| event_signal<void (const DtUnicode&, const DtUnicode&, unsigned int, unsigned int)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayUnitDecimalsChanged |
Signals that the precision for a given display unit has changed.
| _1 | Indicates the specific display unit collection name that changed. |
| _2 | Indicates the specific display unit name that changed. |
| _3 | Indicates the new decimal precision for the display unit. |
| _4 | Indicates the old decimal precision for the Display Unit. |
| event_signal<void (bool)> makVrv::DtDisplayUnitsSettingsSignaler::signal_suppressMagneticNorthNotationEnabledChanged |
Signals that the setting controlling whether or not to suppress the magnetic north notation has changed.
| _1 | Indicates whether or not to suppress the magnetic north notation, if used. |