Skip to main content

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

NameTypeDescription
busEventBusThe event bus.
storeFlightPlanStoreThe flight plan store to use.
fmsFms<"">The FMS.
planIndexnumberThe flight plan index to use.
loadNewAirwaysCollapsedSubscribable<boolean>A subscribable indicating whether new airways should be collapsed.

Returns

FlightPlanListManager

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