Class: DefaultNavStatusBoxDataProvider
A default implementation of NavStatusBoxDataProvider.
Implements
Constructors
constructor
• new DefaultNavStatusBoxDataProvider(bus
, fms
, waypointAlertComputer
): DefaultNavStatusBoxDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
fms | Fms <any > | The FMS. |
waypointAlertComputer | WaypointAlertComputer | The waypoint alert computer from which to source this provider's waypoint alert data. |
Returns
DefaultNavStatusBoxDataProvider
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:89
Properties
obsCourse
• Readonly
obsCourse: Subscribable
<null
| number
>
The current active OBS course, in degrees, or null
if OBS is inactive.
Implementation of
NavStatusBoxDataProvider.obsCourse
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:66
trackedLegs
• Readonly
trackedLegs: Subscribable
<Readonly
<NavStatusTrackedLegs
>>
The current from, to, and next flight plan legs LNAV is tracking.
Implementation of
NavStatusBoxDataProvider.trackedLegs
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:57
waypointAlertState
• Readonly
waypointAlertState: Subscribable
<Readonly
<WaypointAlertStateEvent
>>
The current waypoint alert state.
Implementation of
NavStatusBoxDataProvider.waypointAlertState
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:69
waypointAlertTime
• Readonly
waypointAlertTime: NumberUnitSubject
<Duration
, SimpleUnit
<Duration
>>
The time remaining for the current waypoint alert, or NaN
if an alert is not active.
Implementation of
NavStatusBoxDataProvider.waypointAlertTime
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:72
Methods
destroy
▸ destroy(): void
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
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:264
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | 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 is dead.
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:103
pause
▸ pause(): void
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 is dead.
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:241
resume
▸ resume(): void
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 is dead.
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxDataProvider.ts:217