Class: BasicNavReferenceIndicator<SourceName>
A basic implementation of NavReferenceIndicator whose data is derived directly from its source.
Type parameters
Name | Type |
---|---|
SourceName | extends string |
Hierarchy
↳
BasicNavReferenceIndicator
Implements
NavReferenceIndicator
<SourceName
>
Constructors
constructor
• new BasicNavReferenceIndicator<SourceName
>(navSources
, sourceName?
): BasicNavReferenceIndicator
<SourceName
>
Creates a new instance of BasicNavReferenceIndicator.
Type parameters
Name | Type |
---|---|
SourceName | extends string |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
navSources | NavReferenceSources <SourceName > | undefined | The possible nav sources from which this indicator can derive data. |
sourceName | null | SourceName | null | The initial source to use, if any. |
Returns
BasicNavReferenceIndicator
<SourceName
>
Overrides
AbstractNavReferenceBase.constructor
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:38
Properties
activeFrequency
• Readonly
activeFrequency: Subject
<null
| number
>
The radio frequency of the reference. Only available if the reference is a navaid.
Implementation of
NavReferenceIndicator.activeFrequency
Inherited from
AbstractNavReferenceBase.activeFrequency
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:138
bearing
• Readonly
bearing: Subject
<null
| number
>
The magnetic bearing, in degrees, from the airplane to the reference position.
Implementation of
Inherited from
AbstractNavReferenceBase.bearing
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:86
course
• Readonly
course: Subject
<null
| number
>
The magnetic bearing, in degrees, of the reference course at the reference position.
Implementation of
Inherited from
AbstractNavReferenceBase.course
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:92
distance
• Readonly
distance: Subject
<null
| number
>
The distance, in nautical miles, from the airplane to the reference position.
Implementation of
NavReferenceIndicator.distance
Inherited from
AbstractNavReferenceBase.distance
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:89
fields
• Protected
Readonly
fields: Map
<keyof NavReferenceBase
, MutableSubscribable
<any
, any
>>
Inherited from
AbstractNavReferenceBase.fields
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:158
hasDme
• Readonly
hasDme: Subject
<null
| boolean
>
Whether the reference has a DME component.
Implementation of
Inherited from
AbstractNavReferenceBase.hasDme
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:129
hasGlideSlope
• Readonly
hasGlideSlope: Subject
<null
| boolean
>
Whether the reference has a glideslope component.
Implementation of
NavReferenceIndicator.hasGlideSlope
Inherited from
AbstractNavReferenceBase.hasGlideSlope
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:135
hasLocalizer
• Readonly
hasLocalizer: Subject
<null
| boolean
>
Whether the reference has a localizer component.
Implementation of
NavReferenceIndicator.hasLocalizer
Inherited from
AbstractNavReferenceBase.hasLocalizer
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:132
hasNav
• Readonly
hasNav: Subject
<null
| boolean
>
Whether the reference has a VOR component.
Implementation of
Inherited from
AbstractNavReferenceBase.hasNav
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:126
ident
• Readonly
ident: Subject
<null
| string
>
The ident of the reference.
Implementation of
Inherited from
AbstractNavReferenceBase.ident
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:80
isLocalizer
• Readonly
isLocalizer: Subject
<null
| boolean
>
Whether the reference is a localizer.
Implementation of
NavReferenceIndicator.isLocalizer
Inherited from
AbstractNavReferenceBase.isLocalizer
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:123
lateralDeviation
• Readonly
lateralDeviation: Subject
<null
| number
>
Lateral deviation from the reference course scaled such that a value of +/-1 is equal to full-scale CDI deflection
(i.e. the lateralDeviationScaling
value). Positive values indicate deflection of the CDI to the right (i.e. the
airplane is situated to the left of the reference).
Implementation of
NavReferenceIndicator.lateralDeviation
Inherited from
AbstractNavReferenceBase.lateralDeviation
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:144
lateralDeviationScale
• Readonly
lateralDeviationScale: Subject
<null
| number
>
The magnitude of full-scale CDI deflection, in nautical miles.
Implementation of
NavReferenceIndicator.lateralDeviationScale
Inherited from
AbstractNavReferenceBase.lateralDeviationScale
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:147
lateralDeviationScalingMode
• Readonly
lateralDeviationScalingMode: Subject
<null
| number
>
The lateral deviation scaling mode.
Implementation of
NavReferenceIndicator.lateralDeviationScalingMode
Inherited from
AbstractNavReferenceBase.lateralDeviationScalingMode
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:150
localizerCourse
• Readonly
localizerCourse: Subject
<null
| number
>
The fixed magnetic course, in degrees, of the reference localizer. Only available if the reference is a localizer.
Implementation of
NavReferenceIndicator.localizerCourse
Inherited from
AbstractNavReferenceBase.localizerCourse
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:95
location
• Readonly
location: ComputedSubject
<null
| LatLonInterface
, null
| GeoPointInterface
>
The location of the reference position.
Implementation of
NavReferenceIndicator.location
Inherited from
AbstractNavReferenceBase.location
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:106
navSources
• Protected
Readonly
navSources: NavReferenceSources
<SourceName
>
The possible nav sources from which this indicator can derive data.
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:38
signalStrength
• Readonly
signalStrength: Subject
<null
| number
>
Signal strength received from the reference. A value of zero indicates no signal.
Implementation of
NavReferenceIndicator.signalStrength
Inherited from
AbstractNavReferenceBase.signalStrength
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:83
source
• Readonly
source: Subscribable
<null
| NavReferenceSource
<SourceName
>>
This indicator's source.
Implementation of
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:29
sourceSubs
• Protected
Readonly
sourceSubs: Subscription
[] = []
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:31
toFrom
• Readonly
toFrom: Subject
<null
| VorToFrom
>
Whether the airplane is heading TO or FROM the reference position as judged from the reference course.
Implementation of
Inherited from
AbstractNavReferenceBase.toFrom
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:141
verticalDeviation
• Readonly
verticalDeviation: Subject
<null
| number
>
Vertical deviation from the reference vertical path profile scaled such that a value of +/-1 is equal to full-
scale VDI deflection (i.e. the verticalDeviationScaling
value). Positive values indicate upward deflection of
the VDI (i.e. the airplane is situated below the reference).
Implementation of
NavReferenceIndicator.verticalDeviation
Inherited from
AbstractNavReferenceBase.verticalDeviation
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:153
verticalDeviationScale
• Readonly
verticalDeviationScale: Subject
<null
| number
>
The magnitude of full-scale VDI deflection, in feet.
Implementation of
NavReferenceIndicator.verticalDeviationScale
Inherited from
AbstractNavReferenceBase.verticalDeviationScale
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:156
Methods
clearAll
▸ clearAll(): void
Sets all fields to null
.
Returns
void
Inherited from
AbstractNavReferenceBase.clearAll
Defined in
src/garminsdk/navreference/NavReferenceBase.ts:183
setSource
▸ setSource(sourceName
): void
Sets this indicator's source. Once the source is set, this indicator's data will be derived from the new source.
If the new source is null
, all of this indicator's data will be set to null
.
Parameters
Name | Type | Description |
---|---|---|
sourceName | null | SourceName | The name of a nav source. |
Returns
void
Implementation of
NavReferenceIndicator.setSource
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:44
updateFromSource
▸ updateFromSource(newSource
, oldSource
): void
Updates this nav indicator from a new source.
Parameters
Name | Type | Description |
---|---|---|
newSource | null | NavReferenceSource <SourceName > | The new nav source. |
oldSource | null | NavReferenceSource <SourceName > | The old nav source. |
Returns
void
Defined in
src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:63