Skip to main content

Class: Epic2FlightAreaComputer

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:41

A computer that determines the current flight area.

Implements

  • Instrument

Constructors

Constructor

new Epic2FlightAreaComputer(bus, selectedFmsPosIndex, flightPlanStore): Epic2FlightAreaComputer

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:155

Constructs a new flight area computer.

Parameters

ParameterTypeDescription
busEventBusThe instrument event bus.
selectedFmsPosIndexSubscribable<number>The selected FMS position system.
flightPlanStoreFlightPlanStoreThe active flight plan store.

Returns

Epic2FlightAreaComputer

Properties

activeArea

readonly activeArea: Subscribable<Epic2FlightArea>

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:134

Methods

init()

init(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:171

Returns

void

Inherit Doc

Implementation of

Instrument.init


onUpdate()

onUpdate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:195

Returns

void

Inherit Doc

Implementation of

Instrument.onUpdate