Class: InitializationManager
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Initialization/InitializationManager.ts:10
A manager for the state of the G3000 initialization process. The manager responds to commands published to event bus
topics defined in InitializationControlEvents
to change the initialization process state and publishes information
about the state to event topics defined InitializationEvents
.
Constructors
Constructor
new InitializationManager(
bus
):InitializationManager
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Initialization/InitializationManager.ts:29
Creates a new instance of InitializationManager.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
InitializationManager
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Initialization/InitializationManager.ts:136
Destroys this manager. Once destroyed, the manager can no longer be initialized and will stop responding to commands to change the initialization process state and will stop publishing state information to the event bus.
Returns
void
init()
init(
process
):void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Initialization/InitializationManager.ts:44
Initializes this manager with an initialization process. If the process includes at least one initialization task,
then the initialization process will be enabled. Once initialized with an enabled initialization process, the
manager will respond to commands published to event bus topics defined in InitializationControlEvents
.
Parameters
Parameter | Type | Description |
---|---|---|
process | InitializationProcess | An initialization process. |
Returns
void
Throws
Error if this manager has been destroyed.
resetAccepted()
resetAccepted():
void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Initialization/InitializationManager.ts:93
Resets whether the initialization has been accepted to false
.
Returns
void