Skip to main content

Class: G3000ChartsManager

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:18

A manager for G3000 electronic charts selected for display.

Constructors​

Constructor​

new G3000ChartsManager(bus, fms, fmsPosIndex): G3000ChartsManager

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:35

Creates a new instance of G3000ChartsManager.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
fmsFmsThe FMS.
fmsPosIndexSubscribable<number>The index of the FMS positioning system to use to retrieve plane position data.

Returns​

G3000ChartsManager

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:114

Destroys this manager.

Returns​

void


init()​

init(chartsSources): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:48

Initializes this manager. Once the manager is initialized, it will automatically manage the state of electronic charts selected for display.

Parameters​

ParameterTypeDescription
chartsSourcesIterable<G3000ChartsSource>The available charts sources.

Returns​

void

Throws​

Error if this manager has been destroyed.


reset()​

reset(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:101

Resets the state of displayed electronic charts such that all selections are cleared. This method does nothing if this manager is not initialized.

Returns​

void

Throws​

Error if this manager has been destroyed.


startReconcilePreferredSource()​

startReconcilePreferredSource(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Charts/G3000ChartsManager.ts:74

Starts automatic reconciliation of the preferred charts source with the available charts sources. If the preferred charts source is set to an undefined value or one that references a non-existent source, then the preferred charts source will be reset to the first available charts source. This method does nothing if this manager is not initialized.

Returns​

void

Throws​

Error if this manager has been destroyed.