![]() |
VR-Forces 4.10 Class Documentation
|
The Display Units Settings signaler class is used to inform other Vantage components of changes to the display units settings. More...

Public Member Functions | |
| virtual | ~DtDisplayUnitsSettingsSignaler () |
| DTOR. 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 DtDisplayUnitsSettingsSignaler & | instance (const DtSharedSettingsManager &) |
| Get the instance of the signaler using the shared settings manager. More... | |
| static DtDisplayUnitsSettingsSignaler & | instance (DtEventQueueInterface &) |
| Get the instance of the signaler using the event queue interface. More... | |
| static DtDisplayUnitsSettingsSignaler * | findInstance (DtEventQueueInterface *) |
| Find the instance of the signaler using the event queue interface. More... | |
Public Attributes | |
Signals | |
| event_signal< void(const DtUnicode &, const DtUnicode &, unsigned int, unsigned int)> | signal_displayUnitChanged |
| Signals that the active display unit for the given type has changed. More... | |
| event_signal< void(const DtUnicode &, const DtUnicode &, unsigned int, unsigned int)> | signal_displayUnitDecimalsChanged |
| Signals that the precision for a given display unit has changed. More... | |
Protected Member Functions | |
| DtDisplayUnitsSettingsSignaler (DtEventQueueInterface &eqi) | |
| Protected CTOR ( Use ::instance(..) ) More... | |
Private Member Functions | |
| DtDisplayUnitsSettingsSignaler (const DtDisplayUnitsSettingsSignaler &) | |
| DtDisplayUnitsSettingsSignaler & | operator= (const DtDisplayUnitsSettingsSignaler &) |
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.
|
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. |