Skip to main content

Class: AltimeterBaroKeyEventHandler

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:32

A handler for altimeter barometric setting key events.

Constructors

Constructor

new AltimeterBaroKeyEventHandler(bus, managedAltimeterInfos): AltimeterBaroKeyEventHandler

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:56

Constructor.

Parameters

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

Returns

AltimeterBaroKeyEventHandler

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:302

Destroys this handler.

Returns

void


init()

init(): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:97

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.