Skip to main content

Class: GtcKnobStatesManager

A default implementation of GtcKnobStates which automatically manages knob control states.

Implements

Constructors

constructor

new GtcKnobStatesManager(gtcService): GtcKnobStatesManager

Creates a new instance of GtcKnobStatesManager.

Parameters

NameTypeDescription
gtcServiceGtcServiceThe GTC service instance associated with this manager's GTC.

Returns

GtcKnobStatesManager

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcKnobStates.ts:214

Properties

centerKnobState

Readonly centerKnobState: Subscribable<string>

The current state of the center knob (only found on vertically oriented GTCs).

Implementation of

GtcKnobStates.centerKnobState

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcKnobStates.ts:170


dualKnobState

Readonly dualKnobState: Subscribable<string>

The current state of the dual concentric knob (located at the top of horizontally oriented GTCs or at the right side of vertically oriented GTCs).

Implementation of

GtcKnobStates.dualKnobState

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcKnobStates.ts:130


mapKnobState

Readonly mapKnobState: Subscribable<string>

The current state of the map knob (located at the bottom of horizontally oriented GTCs or at the left side of vertically oriented GTCs).

Implementation of

GtcKnobStates.mapKnobState

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcKnobStates.ts:183

Methods

attachPluginOverrides

attachPluginOverrides(overrides): void

Attaches plugin-defined knob control state overrides.

Parameters

NameTypeDescription
overridesreadonly Readonly<GtcKnobStatePluginOverrides>[]An array of plugin-defined knob control state overrides. The array should be ordered such that the overrides appear in the order in which their parent plugins were loaded.

Returns

void

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcKnobStates.ts:233