Skip to main content

Class: ReversionaryModeManager

A manager that tracks whether reversionary mode should be active for a GDU.

Constructors

constructor

new ReversionaryModeManager(bus, config, gduIndex): ReversionaryModeManager

Creates a new instance of ReversionaryModeManager.

Parameters

NameTypeDescription
busEventBusThe event bus.
configAvionicsConfigThe general avionics configuration object.
gduIndexnumberThe index of this manager's parent GDU.

Returns

ReversionaryModeManager

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/ReversionaryMode/ReversionaryModeManager.ts:35

Properties

isReversionaryMode

Readonly isReversionaryMode: Subscribable<boolean>

Whether reversionary mode should be active.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/ReversionaryMode/ReversionaryModeManager.ts:22

Methods

activate

activate(): void

Activates this manager. While activated, this manager will automatically keep track of whether reversionary mode should be active for its parent GDU.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/ReversionaryMode/ReversionaryModeManager.ts:72


deactivate

deactivate(): void

Deactivates this manager. While deactivated, this manager will not automatically keep track of whether reversionary mode should be active for its parent GDU, and the value of the this.isReversionaryMode subscribable is set to false.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/ReversionaryMode/ReversionaryModeManager.ts:91


destroy

destroy(): void

Destroys this manager. After this manager is destroyed, it will no longer keep track of whether reversionary mode should be active and can no longer be activated or deactivated.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/ReversionaryMode/ReversionaryModeManager.ts:147