VR-Forces 4.7 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 Widget signaler class is used to connect Widget generated events in the main thread to the WidgetAgent owners that are running it separate threads. More...

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

Public Member Functions

virtual ~DtDisplayUnitsSettingsSignaler ()
 DTOR.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtDisplayUnitsSettingsSignaler
instance (const DtSharedSettingsManager &)
 Get the instance of the signaler using the shared settings manager.
static
DtDisplayUnitsSettingsSignaler
instance (DtEventQueueInterface &)
 Get the instance of the signaler using the event queue interface.
static
DtDisplayUnitsSettingsSignaler
findInstance (DtEventQueueInterface *)
 Find the instance of the signaler using the event queue interface.

Public Attributes

Signals
event_signal< void(DtUnitConverterCollection::DisplayUnitType,
int, int)> 
signal_displayUnitChanged
 Signals that the active display unit for the given type has changed.
event_signal< void(DtUnitConverterCollection::DisplayUnitType,
int, int, int)> 
signal_displayUnitDecimalsChanged
 Signals that the precision for a given display unit has changed.
event_signal< void(DtSharedDisplayUnitsSettings::CoordSys,
DtSharedDisplayUnitsSettings::CoordSys)> 
signal_displayCoordinateSystemChanged
 Signals that the display coordinate system has changed.
event_signal< void(DtSharedDisplayUnitsSettings::CoordSys,
int, int)> 
signal_displayCoordinateSystemDecimalsChanged
 Signals that the decimal precision for a display coordinate system has changed.

Protected Member Functions

 DtDisplayUnitsSettingsSignaler (DtEventQueueInterface &eqi)
 Protected CTOR ( Use ::instance(..) )

Private Member Functions

 DtDisplayUnitsSettingsSignaler (const DtDisplayUnitsSettingsSignaler &)
DtDisplayUnitsSettingsSignaleroperator= (const DtDisplayUnitsSettingsSignaler &)

Detailed Description

The Widget signaler class is used to connect Widget generated events in the main thread to the WidgetAgent owners that are running it separate threads.

Typically this call is only used by WidgetInstanceSignaler and

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 (DtUnitConverterCollection::DisplayUnitType, int, int)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayUnitChanged

Signals that the active display unit for the given type has changed.

The first parameter indicates what unit type enumeration the second parameter indicates the units using. For example, if the first param is DtSharedDisplayUnitsSettings::Distance, the second param should be cast to makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits in order to interpret the value correctly.

Parameters
_1Indicates what type of display unit changed.
_2Indicates the new active display unit for the type.
_3Indicates the old display unit for the type
event_signal<void (DtUnitConverterCollection::DisplayUnitType, int, int, int)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayUnitDecimalsChanged

Signals that the precision for a given display unit has changed.

The first parameter indicates the type of display unit, the second parameter indicates the specific unit (of that type), whose precision changed, and the third parameter indicates the new decimal count.

Parameters
_1Indicates what type of display unit changed.
_2Indicates the specific display unit that changed.
_3Indicates the new decimal precision for the display unit.
_4Indicates the old decimal precision for the Display Unit.
event_signal<void (DtSharedDisplayUnitsSettings::CoordSys, DtSharedDisplayUnitsSettings::CoordSys)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayCoordinateSystemChanged

Signals that the display coordinate system has changed.

Parameters
_1Indicates the new display coordinate system.
_2Indicates the old display coordinate system.
event_signal<void (DtSharedDisplayUnitsSettings::CoordSys, int, int)> makVrv::DtDisplayUnitsSettingsSignaler::signal_displayCoordinateSystemDecimalsChanged

Signals that the decimal precision for a display coordinate system has changed.

Parameters
_1Indicates the display coordinate system.
_2Indicates the new decimal value
_3Indicates the old decimal value

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)