Skip to main content

Class: ToldComputer

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:21

A computer for TOLD (takeoff/landing) performance calculations.

Constructors​

Constructor​

new ToldComputer(bus, toldManager, fms, adcCount, config, fmsVSpeedManager, vSpeedSettingManager): ToldComputer

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:287

Creates a new instance of ToldComputer.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
toldManagerToldManagerA manager of TOLD data.
fmsFms<"">The FMS.
adcCountnumberThe number of ADC sensors available on the airplane.
configToldConfigA TOLD performance calculations configuration object.
fmsVSpeedManagerFmsVSpeedManagerA manager of FMS-defined V-speed values.
vSpeedSettingManagerVSpeedUserSettingManagerA manager of reference V-speed user settings.

Returns​

ToldComputer

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:1316

Destroys this computer. Once destroyed, this computer will no longer perform any calculations or updates, and cannot be paused or resumed.

Returns​

void


init()​

init(module, paused): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:304

Initializes this computer.

Parameters​

ParameterTypeDefault valueDescription
moduleToldModuleundefinedThe module to use with this computer.
pausedbooleanfalseWhether to initialize this computer as paused. Defaults to false.

Returns​

void

Throws​

Error if this computer has been destroyed.


pause()​

pause(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:974

Pauses this computer. Once paused, this computer will not perform any calculations or updates until it is resumed.

Returns​

void

Throws​

Error if this computer has been destroyed.


resume()​

resume(): void

Defined in: workingtitle-instruments-g3000/html_ui/MFD/Performance/TOLD/ToldComputer.ts:932

Resumes this computer. Once resumed, this computer will perform calculations and updates as necessary until it is paused or destroyed.

Returns​

void

Throws​

Error if this computer has been destroyed.