Skip to main content

Class: PfdCourseKnobInputHandler

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Input/PfdCourseKnobInputHandler.ts:8

Handles course knob inputs for a PFD to change the selected course of the PFD's active NAV source.

Constructors​

Constructor​

new PfdCourseKnobInputHandler(index, bus, activeNavIndicator): PfdCourseKnobInputHandler

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Input/PfdCourseKnobInputHandler.ts:28

Constructor.

Parameters​

ParameterTypeDescription
indexPfdIndexThe index of this handler's parent PFD.
busEventBusThe event bus.
activeNavIndicatorG3000NavIndicatorThe active NAV indicator for this handler's parent PFD.

Returns​

PfdCourseKnobInputHandler

Properties​

index​

readonly index: PfdIndex

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Input/PfdCourseKnobInputHandler.ts:29

The index of this handler's parent PFD.

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Input/PfdCourseKnobInputHandler.ts:109

Destroys this handler.

Returns​

void


init()​

init(): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Input/PfdCourseKnobInputHandler.ts:40

Initializes this handler. Once this handler is initialized, it will change the selected course of the active NAV source in response to course knob input events.

Returns​

void

Throws​

Error if this handler has been destroyed.