Skip to main content

Class: G3XFlightPlanSimSyncManager

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:13

A manager for syncing the G3X Touch's internal active flight plan to and from the sim.

Methods​

isAutoSyncing()​

isAutoSyncing(): boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:168

Checks whether this manager is automatically syncing the internal active flight plan to the sim.

Returns​

boolean

Whether this manager is automatically syncing the internal active flight plan to the sim.


loadFromSim()​

loadFromSim(): Promise<void>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:98

Loads the sim flight plan into the internal primary flight plan.

Returns​

Promise<void>

A Promise which will be fulfilled when the flight plan has been loaded.


startAutoSync()​

startAutoSync(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:175

Starts automatically syncing the internal active flight plan to the sim.

Returns​

void


stopAutoSync()​

stopAutoSync(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:188

Stops automatically syncing the internal active flight plan to the sim.

Returns​

void


getManager()​

static getManager(bus, fms): Promise<G3XFlightPlanSimSyncManager>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanSimSyncManager.ts:74

Gets an instance of the flight plan sync manager.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
fmsG3XFmsThe FMS.

Returns​

Promise<G3XFlightPlanSimSyncManager>

A Promise which will be fulfilled with an instance of the flight plan sync manager when it is ready.