Skip to main content

Interface: GpwsModule

A module for a GPWS system. GPWS modules are attached to a parent system, which update the modules and provide them with data.

Methods

onDestroy

onDestroy(): void

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

Returns

void

Defined in

workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:61


onInit

onInit(): void

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

Defined in

workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:46


onUpdate

onUpdate(operatingMode, data, realTime, simTime, simRate): void

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

Parameters

NameTypeDescription
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.
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
simRatenumberThe current simulation rate factor.

Returns

void

Defined in

workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:56