Class: DefaultChartsPaneViewDataProvider
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:24
A default implementation of ChartsPaneViewDataProvider.
Implements
Constructors
Constructor
new DefaultChartsPaneViewDataProvider(
bus
,chartsSources
,displayPaneIndex
,pfdSensorsSettingManager
,isProcPreview
):DefaultChartsPaneViewDataProvider
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:77
Creates a new instance of DefaultChartsPaneViewDataProvider.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
chartsSources | Iterable <G3000ChartsSource > | All available charts sources. |
displayPaneIndex | DisplayPaneIndex | The index of the display pane for which the provider provides data. |
pfdSensorsSettingManager | PfdSensorsUserSettingManager | A manager for PFD sensors user settings. |
isProcPreview | boolean | Whether the provider should provide data for the display pane's procedure preview chart instead of the general chart. |
Returns
DefaultChartsPaneViewDataProvider
Properties
chartPageSection
readonly
chartPageSection:Subscribable
<string
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:32
The ID of the active chart page section.
Implementation of
ChartsPaneViewDataProvider
.chartPageSection
chartPageSelection
readonly
chartPageSelection:Subscribable
<null
|G3000ChartsPageSelectionData
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:28
A description of the chart page that is selected to be displayed, or null
if no page has been selected to be
displayed.
Implementation of
ChartsPaneViewDataProvider
.chartPageSelection
chartsSources
readonly
chartsSources:Iterable
<G3000ChartsSource
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:79
All available charts sources.
Implementation of
ChartsPaneViewDataProvider
.chartsSources
lightMode
readonly
lightMode:Subscribable
<G3000ChartsDisplayLightMode
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:39
The active light mode with which to display charts.
Implementation of
ChartsPaneViewDataProvider
.lightMode
planeHeading
readonly
planeHeading:Accessible
<number
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:55
The airplane's current true heading, in degrees, or NaN
if the heading is not available.
Implementation of
ChartsPaneViewDataProvider
.planeHeading
planePosition
readonly
planePosition:Accessible
<Readonly
<LatLonInterface
>>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:49
The airplane's current position. If the position is not available, then both latitude and longitude are equal to
NaN
.
Implementation of
ChartsPaneViewDataProvider
.planePosition
unitsDistanceMode
readonly
unitsDistanceMode:Subscribable
<UnitsDistanceSettingMode
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:52
The current distance units mode.
Implementation of
ChartsPaneViewDataProvider
.unitsDistanceMode
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:205
Destroys this data provider.
Returns
void
Implementation of
ChartsPaneViewDataProvider
.destroy
pause()
pause():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:155
Pauses this data provider. When paused, the provider stops updating its data until it is resumed.
Returns
void
Implementation of
ChartsPaneViewDataProvider
.pause
resume()
resume():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/DefaultChartsPaneViewDataProvider.ts:143
Resumes this data provider. Once resumed, the provider will automatically update its data.
Returns
void