Skip to main content

Class: AvionicsStatusManager

A manager for G3000 avionics unit (GDUs and GTCs) 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

NameTypeDescription
busEventBusThe event bus.

Returns

AvionicsStatusManager

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:131

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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:268


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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:140