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
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
externalNavigatorDefs | readonly (undefined | Readonly <ActiveNavSourceManagerExternalNavigatorDefinition >)[] | Definitions describing external navigators, indexed by external navigator index. |
options | Readonly <ActiveNavSourceManagerOptions > | Options with which to configure the manager. |
Returns
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