Interface: GpwsModule
Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:41
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
Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:61
A method which is called when this module's parent GPWS system is destroyed.
Returns
void
onInit()
onInit():
void
Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:46
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
onUpdate()
onUpdate(
operatingMode,data,realTime,simTime,simRate):void
Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:56
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. |
simTime | number | The current sim time, as a UNIX timestamp in milliseconds. |
simRate | number | The current simulation rate factor. |
Returns
void