Skip to main content

Class: ActiveNavSourceManager

A manager for the active navigation source. Changes the active navigation source in response to control events and keeps various data in sync with the active nav source.

Constructors

constructor

new ActiveNavSourceManager(bus, externalNavigatorDefs, options): ActiveNavSourceManager

Creates a new instance of ActiveNavSourceManager.

Parameters

NameTypeDescription
busEventBusThe event bus.
externalNavigatorDefsreadonly (undefined | Readonly<ActiveNavSourceManagerExternalNavigatorDefinition>)[]Definitions describing external navigators, indexed by external navigator index.
optionsReadonly<ActiveNavSourceManagerOptions>Options with which to configure the manager.

Returns

ActiveNavSourceManager

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Navigation/ActiveNavSourceManager.ts:120

Methods

destroy

destroy(): void

Destroys this manager.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Navigation/ActiveNavSourceManager.ts:510


init

init(): Promise<void>

Initializes this manager. Once this manager is initialized, it will manage the active navigation source in response to control events and keep various data in sync with the active nav source.

Returns

Promise<void>

Throws

Error if this manager has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Navigation/ActiveNavSourceManager.ts:211