Skip to main content

Class: DefaultTcasRaCommandDataProvider

A default implementation of TcasRaCommandDataProvider.

Implements

Constructors

constructor

new DefaultTcasRaCommandDataProvider(bus, tcas): DefaultTcasRaCommandDataProvider

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
tcasTcas<AbstractTcasIntruder, TcasSensitivity<TcasIntruder>>The TCAS which from which this data provider sources resolution advisory commands.

Returns

DefaultTcasRaCommandDataProvider

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:67

Properties

raFlyToMaxVs

Readonly raFlyToMaxVs: Subscribable<null | number>

The upper bound vertical speed, in feet per minute, of the current resolution advisory's fly-to command, or null if there is no such value.

Implementation of

TcasRaCommandDataProvider.raFlyToMaxVs

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:54


raFlyToMinVs

Readonly raFlyToMinVs: Subscribable<null | number>

The lower bound vertical speed, in feet per minute, of the current resolution advisory's fly-to command, or null if there is no such value.

Implementation of

TcasRaCommandDataProvider.raFlyToMinVs

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:50


raMaxVs

Readonly raMaxVs: Subscribable<null | number>

The maximum allowed vertical speed, in feet per minute, commanded by the current resolution advisory, or null if there is no such value.

Implementation of

TcasRaCommandDataProvider.raMaxVs

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:46


raMinVs

Readonly raMinVs: Subscribable<null | number>

The minimum allowed vertical speed, in feet per minute, commanded by the current resolution advisory, or null if there is no such value.

Implementation of

TcasRaCommandDataProvider.raMinVs

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:42


tcas

Readonly tcas: Tcas<AbstractTcasIntruder, TcasSensitivity<TcasIntruder>>

The TCAS which from which this data provider sources resolution advisory commands.

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:67

Methods

destroy

destroy(): void

Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.

Returns

void

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:219


init

init(paused?): void

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this data provider as paused. If true, this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false.

Returns

void

Throws

Error if this data provider has been destroyed.

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:77


pause

pause(): void

Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.

Returns

void

Throws

Error if this data provider has been destroyed.

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:201


resume

resume(): void

Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.

Returns

void

Throws

Error if this data provider has been destroyed.

Defined in

src/garminsdk/traffic/TcasRaCommandDataProvider.ts:182