Skip to main content

Class: AltimeterBaroKeyEventHandler

A handler for altimeter barometric setting key events.

Constructors

constructor

new AltimeterBaroKeyEventHandler(bus, managedAltimeterInfos): AltimeterBaroKeyEventHandler

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
managedAltimeterInfosIterable<Readonly<AltimeterBaroInfo>>Information describing the altimeters to be managed by the handler.

Returns

AltimeterBaroKeyEventHandler

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Input/AltimeterBaroKeyEventHandler.ts:56

Methods

destroy

destroy(): void

Destroys this handler.

Returns

void

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Input/AltimeterBaroKeyEventHandler.ts:302


init

init(): Promise<void>

Initializes this handler. Once this handler is initialized, it will change the baro setting for this handler's PFD's altimeter in response to baro knob input events.

Returns

Promise<void>

A Promise which will be fulfilled when this handler is fully initialized, or rejected if this handler is destroyed before then.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Input/AltimeterBaroKeyEventHandler.ts:97