Skip to main content

Class: Adsb

An ADS-B system.

Constructors

constructor

new Adsb(bus): Adsb

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

Adsb

Defined in

src/sdk/traffic/Adsb.ts:34

Properties

bus

Protected Readonly bus: EventBus

The event bus.

Defined in

src/sdk/traffic/Adsb.ts:34


eventSubscriber

Protected Readonly eventSubscriber: EventSubscriber<AdsbEvents>

Defined in

src/sdk/traffic/Adsb.ts:28


operatingMode

Protected Readonly operatingMode: Subject<AdsbOperatingMode>

Defined in

src/sdk/traffic/Adsb.ts:26

Methods

getEventSubscriber

getEventSubscriber(): EventSubscriber<AdsbEvents>

Gets an event bus subscriber for TCAS events.

Returns

EventSubscriber<AdsbEvents>

an event bus subscriber for TCAS events..

Defined in

src/sdk/traffic/Adsb.ts:57


getOperatingMode

getOperatingMode(): AdsbOperatingMode

Gets this system's operating mode.

Returns

AdsbOperatingMode

This system's operating mode.

Defined in

src/sdk/traffic/Adsb.ts:41


init

init(): void

Initializes this ADS-B system.

Returns

void

Defined in

src/sdk/traffic/Adsb.ts:64


setOperatingMode

setOperatingMode(mode): void

Sets this system's operating mode.

Parameters

NameTypeDescription
modeAdsbOperatingModeThe new operating mode.

Returns

void

Defined in

src/sdk/traffic/Adsb.ts:49