Skip to main content

Class: ActiveNavSourceManager

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Navigation/ActiveNavSourceManager.ts:8

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

Constructors

Constructor

new ActiveNavSourceManager(bus): ActiveNavSourceManager

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Navigation/ActiveNavSourceManager.ts:25

Constructor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.

Returns

ActiveNavSourceManager

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Navigation/ActiveNavSourceManager.ts:92

Destroys this manager.

Returns

void


init()

init(): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Navigation/ActiveNavSourceManager.ts:53

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

Returns

Promise<void>

Throws

Error if this manager has been destroyed.