Class: Adsb
An ADS-B system.
Constructors
constructor
• new Adsb(bus
): Adsb
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
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
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
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
Name | Type | Description |
---|---|---|
mode | AdsbOperatingMode | The new operating mode. |
Returns
void
Defined in
src/sdk/traffic/Adsb.ts:49