Skip to main content

Class: NavDataBarFieldIsaModelFactory

Creates data models for ISA navigation data bar fields.

Hierarchy

Constructors

constructor

new NavDataBarFieldIsaModelFactory(bus): NavDataBarFieldIsaModelFactory

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

NavDataBarFieldIsaModelFactory

Inherited from

EventBusNavDataBarFieldTypeModelFactory.constructor

Defined in

src/garminsdk/components/navdatabar/EventBusNavDataBarFieldTypeModelFactory.ts:18

Properties

sub

Protected Readonly sub: EventSubscriber<AdcEvents>

Inherited from

EventBusNavDataBarFieldTypeModelFactory.sub

Defined in

src/garminsdk/components/navdatabar/EventBusNavDataBarFieldTypeModelFactory.ts:12

Methods

create

create(gpsValidity): NavDataBarFieldModel<NumberUnitInterface<TemperatureDelta, Unit<TemperatureDelta>>>

Creates a navigation data bar field data model for this factory's data field type.

Parameters

NameTypeDescription
gpsValiditySubscribable<NavDataFieldGpsValidity>The subscribable that provides the validity of the GPS data for the models.

Returns

NavDataBarFieldModel<NumberUnitInterface<TemperatureDelta, Unit<TemperatureDelta>>>

A navigation data bar field data model for this factory's data field type.

Overrides

EventBusNavDataBarFieldTypeModelFactory.create

Defined in

src/garminsdk/components/navdatabar/NavDataBarFieldTypeModelFactories.ts:796