Class: FlightPlanListManager
Tracks flight plan segments and legs and manages them together in a single list.
Constructors
constructor
• new FlightPlanListManager(bus
, store
, fms
, planIndex
, loadNewAirwaysCollapsed
): FlightPlanListManager
Creates a new FlightPlanListManager.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
store | FlightPlanStore | The flight plan store to use. |
fms | Fms <"" > | The FMS. |
planIndex | number | The flight plan index to use. |
loadNewAirwaysCollapsed | Subscribable <boolean > | A subscribable indicating whether new airways should be collapsed. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:53
Properties
collapsedAirwaySegments
• Readonly
collapsedAirwaySegments: SetSubject
<FlightPlanSegment
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:37
dataList
• Readonly
dataList: SubscribableArray
<FlightPlanListData
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:18
fromLegListIndex
• Readonly
fromLegListIndex: Subject
<undefined
| number
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:20
fromLegVisibleListIndex
• Readonly
fromLegVisibleListIndex: Subject
<undefined
| number
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:22
legDataMap
• Readonly
legDataMap: ReadonlyMap
<FlightPlanLegData
, FlightPlanLegListData
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:32
segmentDataMap
• Readonly
segmentDataMap: ReadonlyMap
<FlightPlanSegmentData
, FlightPlanSegmentListData
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:29
toLegListIndex
• Readonly
toLegListIndex: Subject
<undefined
| number
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:21
toLegVisibleListIndex
• Readonly
toLegVisibleListIndex: Subject
<undefined
| number
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:23
Methods
destroy
▸ destroy(): void
Celans up subscriptions.
Returns
void
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanListManager.ts:481