Skip to main content

Class: ActiveNavSourceManager

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Navigation/ActiveNavSourceManager.ts:82

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

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Navigation/ActiveNavSourceManager.ts:120

Creates a new instance of ActiveNavSourceManager.

Parameters

ParameterTypeDescription
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

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Navigation/ActiveNavSourceManager.ts:510

Destroys this manager.

Returns

void


init()

init(): Promise<void>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Navigation/ActiveNavSourceManager.ts:211

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.