Class: AltimeterBaroKeyEventHandler
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:40
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:64
Creates a new instance of AltimeterBaroKeyEventHandler.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
managedAltimeterInfos | Iterable<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:339
Destroys this handler.
Returns
void
init()
init():
Promise<void>
Defined in: workingtitle-instruments-g3000/html_ui/MFD/Input/AltimeterBaroKeyEventHandler.ts:107
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.