Class: WT21VNavManager
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:19
A WT21 VNav Manager.
Implements
Constructors
Constructor
new WT21VNavManager(
bus,flightPlanner,calculator,performancePlan,messageService,apValues,primaryPlanIndex):WT21VNavManager
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:169
Creates an instance of the VNAV director.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to use with this instance. |
flightPlanner | FlightPlanner | The flight planner to use with this instance. |
calculator | VNavPathCalculator | The VNAV path calculator to use with this instance. |
performancePlan | PerformancePlan | a performance plan |
messageService | MessageService | The WT21 Message Service. |
apValues | APValues | are the autopilot ap values. |
primaryPlanIndex | number | The index of the flightplan to follow vertical guidance from. |
Returns
WT21VNavManager
Properties
activateMode()?
optionalactivateMode: (mode) =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:74
A callback called by the autopilot to activate the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
Implementation of
armMode()?
optionalarmMode: (mode) =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:71
A callback called by the autopilot to arm the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
Implementation of
calculator
readonlycalculator:VNavPathCalculator
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:171
The VNAV path calculator to use with this instance.
capturedAltitude
capturedAltitude:
number=0
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:76
glidepathCalculator
readonlyglidepathCalculator:GlidePathCalculator
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:100
onActivate()?
optionalonActivate: () =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:66
A callback called when the manager is activated.
Returns
void
Implementation of
onDeactivate()?
optionalonDeactivate: () =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:68
A callback called when the manager is deactivated.
Returns
void
Implementation of
onDisable()?
optionalonDisable: () =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:64
A callback called when the manager is disabled.
Returns
void
onEnable()?
optionalonEnable: () =>void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:61
A callback called when the manager is enabled.
Returns
void
pathArmedError
readonlypathArmedError:Subject<boolean>
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:142
state
state:
VNavState=VNavState.Disabled
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:23
The current manager state.
Implementation of
Methods
canVerticalModeActivate()
canVerticalModeActivate(
mode):boolean
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:339
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
boolean
Inherit Doc
Implementation of
VNavManager.canVerticalModeActivate
onPathDirectorDeactivated()
onPathDirectorDeactivated():
void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:353
Returns
void
Inherit Doc
Implementation of
VNavManager.onPathDirectorDeactivated
setState()
setState(
vnavState):void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:277
Sets the state of the manager.
Parameters
| Parameter | Type |
|---|---|
vnavState | VNavState |
Returns
void
Implementation of
tryActivate()
tryActivate():
void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:307
Tries to activate the manager.
Returns
void
Implementation of
tryDeactivate()
tryDeactivate(
newMode?):void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:316
Tries to deactivate the manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
newMode? | APVerticalModes | Is the new mode to set active in the Autopilot if Path Mode is currently active. |
Returns
void
Implementation of
update()
update():
void
Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21VNavManager.ts:473
Updates the VNAV director.
Returns
void