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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
alertController | GpwsAlertController | The alert controller |
altitudeCallouts | readonly TouchdownCalloutAltitude[] | Which altitudes to callout. |
altitudeDataProvider | AltitudeDataProvider | The aircraft altitude data provider |
Returns
TouchdownCalloutModule
Properties
APPROACHING_MINIMUMS_ALT_OFFSET
protectedreadonlystaticAPPROACHING_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
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
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
| Parameter | Type | Description |
|---|---|---|
operatingMode | GpwsOperatingMode | The current operating mode of GPWS. |
data | Readonly<GpwsData> | The data provided by GPWS. |
realTime | number | The current real (operating system) time, as a UNIX timestamp in milliseconds. |
Returns
void