Class: DefaultAltimeterDataProvider
A default implementation of AltimeterDataProvider.
Implements
Constructors
constructor
• new DefaultAltimeterDataProvider(bus
, adcIndex
, options
, radarAltimeterDataProvider?
): DefaultAltimeterDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
adcIndex | number | Subscribable <number > | The index of the ADC that is the source of this provider's data. |
options | Readonly <AltimeterDataProviderOptions > | Configuration options for this provider. |
radarAltimeterDataProvider? | RadarAltimeterDataProvider | A radar altimeter data provider. If not defined, this data provider will not support radar altitude or radar minimums. |
Returns
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:126
Properties
altitudeTrend
• Readonly
altitudeTrend: Subscribable
<number
>
The current indicated altitude trend, in feet.
Implementation of
AltimeterDataProvider.altitudeTrend
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:63
baroIsStdActive
• Readonly
baroIsStdActive: Subscribable
<boolean
>
Whether STD BARO mode is active.
Implementation of
AltimeterDataProvider.baroIsStdActive
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:71
baroPreselect
• Readonly
baroPreselect: Subscribable
<number
>
The current preselected barometric pressure setting, in inches of mercury.
Implementation of
AltimeterDataProvider.baroPreselect
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:75
baroSetting
• Readonly
baroSetting: Subscribable
<number
>
The current barometric pressure setting, in inches of mercury.
Implementation of
AltimeterDataProvider.baroSetting
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:67
indicatedAlt
• Readonly
indicatedAlt: Subscribable
<number
>
The current indicated altitude, in feet.
Implementation of
AltimeterDataProvider.indicatedAlt
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:56
isDataFailed
• Readonly
isDataFailed: Subscribable
<boolean
>
Whether altitude data is in a failure state.
Implementation of
AltimeterDataProvider.isDataFailed
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:103
minimums
• Readonly
minimums: Subscribable
<null
| number
>
The current active minimums, in feet indicated altitude, or null
if no such value exists.
Implementation of
AltimeterDataProvider.minimums
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:96
radarAlt
• Readonly
radarAlt: Subscribable
<null
| number
>
The current radar altitude, in feet, or null
if there is no valid radar altitude.
Implementation of
AltimeterDataProvider.radarAlt
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:99
selectedAlt
• Readonly
selectedAlt: Subscribable
<null
| number
>
The current selected altitude, or null
if no such value exists.
Implementation of
AltimeterDataProvider.selectedAlt
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:88
Methods
destroy
▸ destroy(): void
Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.
Returns
void
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:337
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether to initialize this data provider as paused. If true , this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false . |
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:153
pause
▸ pause(): void
Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:298
resume
▸ resume(): void
Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/garminsdk/components/nextgenpfd/altimeter/AltimeterDataProvider.ts:260