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
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
vnavDataProvider | VNavDataProvider | A provider of VNAV data. |
activeNavIndicator | G3XTouchNavIndicator | The 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
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
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
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
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
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
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
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
Parameter | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether 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.