Skip to main content

Class: DefaultTcasAdvisoryDataProvider

A default implementation of TcasAdvisoryDataProvider.

Implements

Constructors

constructor

new DefaultTcasAdvisoryDataProvider(bus, tcas): DefaultTcasAdvisoryDataProvider

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
tcasTcas<AbstractTcasIntruder, TcasSensitivity<TcasIntruder>>The TCAS instance.

Returns

DefaultTcasAdvisoryDataProvider

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:47

Properties

paIntruders

Readonly paIntruders: SubscribableSet<TcasIntruder>

The set of intruders associated with active proximity advisories.

Implementation of

TcasAdvisoryDataProvider.paIntruders

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:27


raIntruders

Readonly raIntruders: SubscribableSet<TcasIntruder>

The set of intruders associated with active resolution advisories.

Implementation of

TcasAdvisoryDataProvider.raIntruders

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:33


taIntruders

Readonly taIntruders: SubscribableSet<TcasIntruder>

The set of intruders associated with active traffic advisories.

Implementation of

TcasAdvisoryDataProvider.taIntruders

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:30

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/sdk/traffic/TcasAdvisoryDataProvider.ts:197


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 is dead.

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:60


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 is dead.

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:121


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 is dead.

Defined in

src/sdk/traffic/TcasAdvisoryDataProvider.ts:100