Skip to main content

Class: DefaultVdiDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:30

A default G3X Touch implementation of VdiDataProvider.

Implements

Constructors

Constructor

new DefaultVdiDataProvider(bus, vnavDataProvider, activeNavIndicator, options?): DefaultVdiDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:193

Creates a new instance of DefaultVdiDataProvider.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
vnavDataProviderVNavDataProviderA provider of VNAV data.
activeNavIndicatorG3XTouchNavIndicatorThe nav indicator for the active nav source.
options?Readonly<DefaultVdiDataProviderOptions>Options with which to configure the data provider.

Returns

DefaultVdiDataProvider

Properties

gpDeviation

readonly gpDeviation: Subscribable<null | number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:54

The current glidepath deviation.

Implementation of

VdiDataProvider.gpDeviation


gpDeviationIsPreview

readonly gpDeviationIsPreview: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:58

Whether the current glidepath deviation is a preview.

Implementation of

VdiDataProvider.gpDeviationIsPreview


gpDeviationScale

readonly gpDeviationScale: Subscribable<null | number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:62

The current glidepath deviation scale, in feet.

Implementation of

VdiDataProvider.gpDeviationScale


gpServiceLevel

readonly gpServiceLevel: Subscribable<GlidepathServiceLevel>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:50

The current glidepath service level.

Implementation of

VdiDataProvider.gpServiceLevel


gsDeviation

readonly gsDeviation: Subscribable<null | number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:38

The current glideslope deviation.

Implementation of

VdiDataProvider.gsDeviation


gsDeviationIsPreview

readonly gsDeviationIsPreview: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:42

Whether the current glideslope deviation is a preview.

Implementation of

VdiDataProvider.gsDeviationIsPreview


hasGp

readonly hasGp: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:46

Whether a glidepath is available.

Implementation of

VdiDataProvider.hasGp


hasGs

readonly hasGs: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:34

Whether a glideslope is available.

Implementation of

VdiDataProvider.hasGs


hasVNav

readonly hasVNav: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:66

Whether a VNAV path is available.

Implementation of

VdiDataProvider.hasVNav


isPastFaf

readonly isPastFaf: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:85

Whether the active leg is past the final approach fix.

Implementation of

VdiDataProvider.isPastFaf


vnavDeviation

readonly vnavDeviation: Subscribable<null | number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:70

The current VNAV vertical deviation.

Implementation of

VdiDataProvider.vnavDeviation

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:437

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


init()

init(paused): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:210

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

Parameters

ParameterTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this data provider as paused. Defaults to false.

Returns

void

Throws

Error if this data provider has been destroyed.


pause()

pause(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:392

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 has been destroyed.


resume()

resume(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:358

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 has been destroyed.