Skip to main content

Class: DefaultG3XFplSourceDataProvider

A default implementation of G3XFplSourceDataProvider.

Implements

Constructors

constructor

new DefaultG3XFplSourceDataProvider(bus, internalSourceDef, externalSourceDefs): DefaultG3XFplSourceDataProvider

Creates a new instance of DefaultG3XFplSourceDataProvider.

Parameters

NameTypeDescription
busEventBusThe event bus.
internalSourceDefReadonly<G3XFplSourceDataProviderSourceDef>The definition describing the internal flight plan source.
externalSourceDefsreadonly (undefined | Readonly<G3XFplSourceDataProviderSourceDef>)[]Definitions describing the external flight plan sources. The index of each definition should correspond with the index of the source's external navigator.

Returns

DefaultG3XFplSourceDataProvider

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:71

Properties

cdiId

Readonly cdiId: Subscribable<string>

The ID of the CDI associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.cdiId

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:58


externalSourceCount

Readonly externalSourceCount: 0 | 2 | 1

The number of supported external flight plan sources.

Implementation of

G3XFplSourceDataProvider.externalSourceCount

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:19


externalSourceDefs

Readonly externalSourceDefs: readonly (undefined | Readonly<G3XFplSourceDataProviderSourceDef>)[]

Definitions describing the external flight plan sources. The index of each definition corresponds to the index of the source's parent external navigator.

Implementation of

G3XFplSourceDataProvider.externalSourceDefs

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:16


flightPlanner

Readonly flightPlanner: Subscribable<FlightPlanner<any>>

The flight planner associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.flightPlanner

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:49


fms

Readonly fms: Subscribable<Fms<any>>

The FMS associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.fms

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:43


fmsId

Readonly fmsId: MappedSubscribable<any>

The ID of the FMS associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.fmsId

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:46


internalSourceDef

Readonly internalSourceDef: Readonly<G3XFplSourceDataProviderSourceDef>

The definition describing the internal flight plan source.

Implementation of

G3XFplSourceDataProvider.internalSourceDef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:73


Readonly lnavIndex: Subscribable<number>

The index of the LNAV instance associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.lnavIndex

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:52


Readonly navigatorIndex: Subscribable<0 | G3XExternalNavigatorIndex>

The index of the current flight plan source's parent navigator. An index of zero represents the internal GPS navigator. Otherwise, the index is the external navigator index.

Implementation of

G3XFplSourceDataProvider.navigatorIndex

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:40


source

Readonly source: Subscribable<G3XFplSource>

The current flight plan source.

Implementation of

G3XFplSourceDataProvider.source

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:23


vnavIndex

Readonly vnavIndex: Subscribable<number>

The index of the VNAV instance associated with the current flight plan source.

Implementation of

G3XFplSourceDataProvider.vnavIndex

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:55

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/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:146


init

init(paused?): void

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

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether 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/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:87


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/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:130


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/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:112