Class: DefaultG3XFplSourceDataProvider
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:13
A default implementation of G3XFplSourceDataProvider.
Implements
Constructors
Constructor
new DefaultG3XFplSourceDataProvider(
bus,internalSourceDef,externalSourceDefs):DefaultG3XFplSourceDataProvider
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:71
Creates a new instance of DefaultG3XFplSourceDataProvider.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
internalSourceDef | Readonly<G3XFplSourceDataProviderSourceDef> | The definition describing the internal flight plan source. |
externalSourceDefs | readonly (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
Properties
cdiId
readonlycdiId:Subscribable<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:58
The ID of the CDI associated with the current flight plan source.
Implementation of
G3XFplSourceDataProvider.cdiId
externalSourceCount
readonlyexternalSourceCount:0|1|2
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:19
The number of supported external flight plan sources.
Implementation of
G3XFplSourceDataProvider.externalSourceCount
externalSourceDefs
readonlyexternalSourceDefs: readonly (undefined|Readonly<G3XFplSourceDataProviderSourceDef>)[]
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:16
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
flightPlanner
readonlyflightPlanner:Subscribable<FlightPlanner<any>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:49
The flight planner associated with the current flight plan source.
Implementation of
G3XFplSourceDataProvider.flightPlanner
fms
readonlyfms:Subscribable<Fms<any>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:43
The FMS associated with the current flight plan source.
Implementation of
fmsId
readonlyfmsId:MappedSubscribable<any>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:46
The ID of the FMS associated with the current flight plan source.
Implementation of
G3XFplSourceDataProvider.fmsId
internalSourceDef
readonlyinternalSourceDef:Readonly<G3XFplSourceDataProviderSourceDef>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:73
The definition describing the internal flight plan source.
Implementation of
G3XFplSourceDataProvider.internalSourceDef
lnavIndex
readonlylnavIndex:Subscribable<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:52
The index of the LNAV instance associated with the current flight plan source.
Implementation of
G3XFplSourceDataProvider.lnavIndex
navigatorIndex
readonlynavigatorIndex:Subscribable<0|G3XExternalNavigatorIndex>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:40
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
source
readonlysource:Subscribable<G3XFplSource>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:23
The current flight plan source.
Implementation of
G3XFplSourceDataProvider.source
vnavIndex
readonlyvnavIndex:Subscribable<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:55
The index of the VNAV instance associated with the current flight plan source.
Implementation of
G3XFplSourceDataProvider.vnavIndex
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:146
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/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:87
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: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:130
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: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/DefaultG3XFplSourceDataProvider.ts:112
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.