Class: DefaultVdiDataProvider
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:16
A default G3000 implementation of VdiDataProvider
.
Implements
Constructors
Constructor
new DefaultVdiDataProvider(
bus
,ahrsIndex
,vnavDataProvider
,activeNavIndicator
,gsPreviewNavIndicator
):DefaultVdiDataProvider
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:169
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
ahrsIndex | number | Subscribable <number > | The index of the AHRS that is the source of this provider's heading data. |
vnavDataProvider | VNavDataProvider | A provider of VNAV data. |
activeNavIndicator | G3000NavIndicator | The nav indicator for the active nav source. |
gsPreviewNavIndicator | G3000NavIndicator | The nav indicator for the glideslope preview. |
Returns
DefaultVdiDataProvider
Properties
gpDeviation
readonly
gpDeviation:Subscribable
<null
|number
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:40
The current glidepath deviation.
Implementation of
gpDeviationIsPreview
readonly
gpDeviationIsPreview:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:44
Whether the current glidepath deviation is a preview.
Implementation of
VdiDataProvider
.gpDeviationIsPreview
gpDeviationScale
readonly
gpDeviationScale:Subscribable
<null
|number
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:48
The current glidepath deviation scale, in feet.
Implementation of
VdiDataProvider
.gpDeviationScale
gpServiceLevel
readonly
gpServiceLevel:Subscribable
<GlidepathServiceLevel
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:36
The current glidepath service level.
Implementation of
VdiDataProvider
.gpServiceLevel
gsDeviation
readonly
gsDeviation:Subscribable
<null
|number
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:24
The current glideslope deviation.
Implementation of
gsDeviationIsPreview
readonly
gsDeviationIsPreview:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:28
Whether the current glideslope deviation is a preview.
Implementation of
VdiDataProvider
.gsDeviationIsPreview
hasGp
readonly
hasGp:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:32
Whether a glidepath is available.
Implementation of
hasGs
readonly
hasGs:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:20
Whether a glideslope is available.
Implementation of
hasVNav
readonly
hasVNav:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:52
Whether a VNAV path is available.
Implementation of
isPastFaf
readonly
isPastFaf:Subscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:70
Whether the active leg is past the final approach fix.
Implementation of
vnavDeviation
readonly
vnavDeviation:Subscribable
<null
|number
>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:56
The current VNAV vertical deviation.
Implementation of
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:418
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: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:186
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. 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.
pause()
pause():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:376
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.
resume()
resume():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/VDI/DefaultVdiDataProvider.ts:346
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.