Skip to main content

Class: DefaultTerrainSystemDataProvider

A default provider of Garmin terrain alerting system data which sources data from FMS geo-positioning, radar altimeter, ADC, and AHRS systems.

Implements

Constructors

constructor

new DefaultTerrainSystemDataProvider(bus, fms, options): DefaultTerrainSystemDataProvider

Creates a new instance of DefaultTerrainSystemDataProvider.

Parameters

NameTypeDescription
busEventBusThe event bus.
fmsFms<any>The FMS instance.
optionsReadonly<DefaultTerrainSystemDataProviderOptions>Options with which to configure the data provider.

Returns

DefaultTerrainSystemDataProvider

Defined in

src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:243

Properties

data

Readonly data: Readonly<TerrainSystemData>

The current terrain system data.

Implementation of

TerrainSystemDataProvider.data

Defined in

src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:210

Methods

destroy

destroy(): void

Destroys this data provider.

Returns

void

Defined in

src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:661


init

init(): void

Initializes this system. Once this system is initialized, it will begin collecting data and updating its modules.

Returns

void

Throws

Error if this data provider has been destroyed.

Defined in

src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:292


update

update(realTime): void

Updates this data provider.

Parameters

NameTypeDescription
realTimenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Throws

Error if this data provider has been destroyed.

Defined in

src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:392