Class: EventBusNavDataBarFieldTypeModelFactory<T, E>
An abstract implementation of NavDataBarFieldTypeModelFactory which accesses data from the event bus to use to create its data models.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
E | E |
Hierarchy
EventBusNavDataBarFieldTypeModelFactory
↳
NavDataBarFieldAglModelFactory
↳
NavDataBarFieldBrgModelFactory
↳
NavDataBarFieldCabinAltitudeModelFactory
↳
NavDataBarFieldClgModelFactory
↳
NavDataBarFieldClmModelFactory
↳
NavDataBarFieldDensityAltitudeModelFactory
↳
NavDataBarFieldDestModelFactory
↳
NavDataBarFieldDisModelFactory
↳
NavDataBarFieldDtgModelFactory
↳
NavDataBarFieldDtkModelFactory
↳
NavDataBarFieldEcoModelFactory
↳
NavDataBarFieldEndModelFactory
↳
NavDataBarFieldEnrModelFactory
↳
NavDataBarFieldEtaModelFactory
↳
NavDataBarFieldEteModelFactory
↳
NavDataBarFieldFuelFlowModelFactory
↳
NavDataBarFieldFlightLevelModelFactory
↳
NavDataBarFieldFobModelFactory
↳
NavDataBarFieldFodModelFactory
↳
NavDataBarFieldGMeterModelFactory
↳
NavDataBarFieldGpsAltitudeModelFactory
↳
NavDataBarFieldGsModelFactory
↳
NavDataBarFieldIsaModelFactory
↳
NavDataBarFieldLdgModelFactory
↳
NavDataBarFieldMachModelFactory
↳
NavDataBarFieldOatModelFactory
↳
NavDataBarFieldRatModelFactory
↳
NavDataBarFieldTasModelFactory
↳
NavDataBarFieldTkeModelFactory
↳
NavDataBarFieldTrkModelFactory
↳
NavDataBarFieldUtcModelFactory
↳
NavDataBarFieldVsrModelFactory
Implements
Constructors
constructor
• new EventBusNavDataBarFieldTypeModelFactory<T
, E
>(bus
): EventBusNavDataBarFieldTypeModelFactory
<T
, E
>
Constructor.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
E | E |
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
EventBusNavDataBarFieldTypeModelFactory
<T
, E
>
Defined in
src/garminsdk/components/navdatabar/EventBusNavDataBarFieldTypeModelFactory.ts:18
Properties
sub
• Protected
Readonly
sub: EventSubscriber
<E
>
Defined in
src/garminsdk/components/navdatabar/EventBusNavDataBarFieldTypeModelFactory.ts:12
Methods
create
▸ create(gpsValidity
): NavDataBarFieldTypeModelMap
[T
]
Creates a navigation data bar field data model for this factory's data field type.
Parameters
Name | Type | Description |
---|---|---|
gpsValidity | Subscribable <NavDataFieldGpsValidity > | The subscribable that provides the validity of the GPS data for the models. |
Returns
NavDataBarFieldTypeModelMap
[T
]
A navigation data bar field data model for this factory's data field type.
Implementation of
NavDataBarFieldTypeModelFactory.create
Defined in
src/garminsdk/components/navdatabar/EventBusNavDataBarFieldTypeModelFactory.ts:22