Skip to main content

Class: GarminXpdrTcasManager

A manager which reconciles the operating modes of the active transponder and the Garmin TCAS-II traffic system. The manager ensures that any time the active transponder is set to a non-altitude reporting mode, TCAS-II is set to standby mode, and anytime TCAS-II is set to a non-standby mode, the active transponder is set to altitude reporting mode.

Constructors

constructor

new GarminXpdrTcasManager(bus, activeXpdrIndex): GarminXpdrTcasManager

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
activeXpdrIndexnumber | Subscribable<number>The index of the active transponder.

Returns

GarminXpdrTcasManager

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:31

Methods

destroy

destroy(): void

Destroys this manager.

Returns

void

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:137


init

init(paused?): void

Initializes this manager. This will perform an immediate reconciliation of transponder and TCAS operating modes (the transponder mode takes precedence), and from this point on the manager will keep the two modes in a valid state until it is destroyed.

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this manager as paused.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:45


pause

pause(): void

Pauses this manager. Once this manager is paused, it will no longer automatically reconcile TCAS operating and transponder modes until resumed.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:101


reset

reset(): void

Resets this manager. Sets the TCAS operating mode to AUTO and the transponder mode to ALT reporting. Has no effect if this manager is not initialized.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:121


resume

resume(): void

Resumes this manager. Once this manager is resumed, it will automatically reconcile TCAS operating and transponder modes.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/traffic/GarminXpdrTcasManager.ts:81