Class: DefaultTcasRaCommandDataProvider
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:38
A default implementation of TcasRaCommandDataProvider.
Implements
Constructors
Constructor
new DefaultTcasRaCommandDataProvider(
bus
,tcas
):DefaultTcasRaCommandDataProvider
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:67
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
tcas | Tcas | The TCAS which from which this data provider sources resolution advisory commands. |
Returns
DefaultTcasRaCommandDataProvider
Properties
raFlyToMaxVs
readonly
raFlyToMaxVs:Subscribable
<null
|number
>
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:54
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
raFlyToMinVs
readonly
raFlyToMinVs:Subscribable
<null
|number
>
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:50
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
raMaxVs
readonly
raMaxVs:Subscribable
<null
|number
>
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:46
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
raMinVs
readonly
raMinVs:Subscribable
<null
|number
>
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:42
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
tcas
readonly
tcas:Tcas
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:67
The TCAS which from which this data provider sources resolution advisory commands.
Methods
destroy()
destroy():
void
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:219
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
init()
init(
paused
):void
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:77
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether 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.
pause()
pause():
void
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:201
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.
resume()
resume():
void
Defined in: src/garminsdk/traffic/TcasRaCommandDataProvider.ts:182
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.