VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
makVrv::DtDisplayUnitsSettingsSignaler Class Reference

The Display Units Settings signaler class is used to inform other Vantage components of changes to the display units settings. More...

Inheritance diagram for makVrv::DtDisplayUnitsSettingsSignaler:
Inheritance graph
[legend]

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 &)
 
DtDisplayUnitsSettingsSignaleroperator= (const DtDisplayUnitsSettingsSignaler &)
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual makVrv::DtDisplayUnitsSettingsSignaler::~DtDisplayUnitsSettingsSignaler ( )
virtual

DTOR.

makVrv::DtDisplayUnitsSettingsSignaler::DtDisplayUnitsSettingsSignaler ( DtEventQueueInterface eqi)
protected

Protected CTOR ( Use ::instance(..) )

makVrv::DtDisplayUnitsSettingsSignaler::DtDisplayUnitsSettingsSignaler ( const DtDisplayUnitsSettingsSignaler )
private

Member Function Documentation

static DtDisplayUnitsSettingsSignaler& makVrv::DtDisplayUnitsSettingsSignaler::instance ( const DtSharedSettingsManager )
static

Get the instance of the signaler using the shared settings manager.

static DtDisplayUnitsSettingsSignaler& makVrv::DtDisplayUnitsSettingsSignaler::instance ( DtEventQueueInterface )
static

Get the instance of the signaler using the event queue interface.

static DtDisplayUnitsSettingsSignaler* makVrv::DtDisplayUnitsSettingsSignaler::findInstance ( DtEventQueueInterface )
static

Find the instance of the signaler using the event queue interface.

Return values
NULLif the instance does not exist.
DtDisplayUnitsSettingsSignaler& makVrv::DtDisplayUnitsSettingsSignaler::operator= ( const DtDisplayUnitsSettingsSignaler )
private

Member Data Documentation

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.

Parameters
_1Indicates the specific display unit collection name that changed.
_2Indicates the specific display unit name that changed.
_3Indicates the new active unit of measurement for the display unit.
_4Indicates 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.

Parameters
_1Indicates the specific display unit collection name that changed.
_2Indicates the specific display unit name that changed.
_3Indicates the new decimal precision for the display unit.
_4Indicates the old decimal precision for the Display Unit.

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)