Class: AvionicsStatusManager
A manager for G3X Touch avionics unit (GDU) status. Processes status updates received from instances of AvionicsStatusClient and publishes avionics unit status events, including global power state events.
Constructors
constructor
• new AvionicsStatusManager(bus
): AvionicsStatusManager
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:124
Methods
destroy
▸ destroy(): void
Destroys this manager. Once destroyed, this manager will no longer keep track of avionics unit statuses or publish events to the event bus.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:260
init
▸ init(): void
Initializes this manager. Once initialized, this manager will keep track of the status of all AvionicsStatusClient instances and publish them on the event bus, along with the avionics global power state.
Returns
void
Throws
Error if this manager was destroyed.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:133