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
Parameter | 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
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.