Skip to main content

Class: TouchdownCalloutModule

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:42

A GPWS module which handles touchdown callouts.

Implements

Constructors

Constructor

new TouchdownCalloutModule(bus, alertController, altitudeCallouts, altitudeDataProvider): TouchdownCalloutModule

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:97

Creates a new instance of TouchdownCalloutModule.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
alertControllerGpwsAlertControllerThe alert controller
altitudeCalloutsreadonly TouchdownCalloutAltitude[]Which altitudes to callout.
altitudeDataProviderAltitudeDataProviderThe aircraft altitude data provider

Returns

TouchdownCalloutModule

Properties

APPROACHING_MINIMUMS_ALT_OFFSET

protected readonly static APPROACHING_MINIMUMS_ALT_OFFSET: 80 = 80

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:43

Methods

onDestroy()

onDestroy(): void

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:219

A method which is called when this module's parent GPWS system is destroyed.

Returns

void

Implementation of

GpwsModule.onDestroy


onInit()

onInit(): void

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:129

A method which is called when this module is attached to an initialized GPWS system, or when this parent's GPWS system is initialized.

Returns

void

Implementation of

GpwsModule.onInit


onUpdate()

onUpdate(operatingMode, data, realTime): void

Defined in: workingtitle-instruments-epic2/shared/GPWS/Modules/TouchdownCalloutModule.ts:134

A method which is called every time this module's parent GPWS system is updated.

Parameters

ParameterTypeDescription
operatingModeGpwsOperatingModeThe current operating mode of GPWS.
dataReadonly<GpwsData>The data provided by GPWS.
realTimenumberThe current real (operating system) time, as a UNIX timestamp in milliseconds.

Returns

void

Implementation of

GpwsModule.onUpdate