Skip to main content

Class: MapUserSettings

Utility class for retrieving map user setting managers.

Constructors

constructor

new MapUserSettings(): MapUserSettings

Returns

MapUserSettings

Properties

hsiFormatsAll

Static Readonly hsiFormatsAll: readonly ["ROSE", "ARC", "PPOS", "PLAN", "GWX", "TCAS"]

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:203


hsiFormatsMFD

Static Readonly hsiFormatsMFD: ("PPOS" | "ROSE" | "ARC" | "PLAN" | "GWX" | "TCAS")[]

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:205


hsiFormatsPFD

Static Readonly hsiFormatsPFD: ("PPOS" | "ROSE" | "ARC" | "PLAN" | "GWX" | "TCAS")[]

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:204


mapRanges

Static Readonly mapRanges: readonly [5, 10, 25, 50, 100, 200, 300, 600]

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:207


terrWxStates

Static Readonly terrWxStates: readonly ["OFF", "TERR", "WX"]

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:206

Methods

getAliasedManager

getAliasedManager(bus, pfdOrMfd): UserSettingManager<MapSettingsPfdAliased>

Retrieves a setting manager with aliased map user settings specific to the PFD or MFD.

Parameters

NameTypeDescription
busEventBusThe event bus.
pfdOrMfd"PFD"Whether to get the PFD or MFD setting manager.

Returns

UserSettingManager<MapSettingsPfdAliased>

A setting manager with aliased map user settings specific to the PFD or MFD.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:219

getAliasedManager(bus, pfdOrMfd): UserSettingManager<MapSettingsMfdAliased>

Retrieves a setting manager with aliased map user settings specific to the PFD or MFD.

Parameters

NameTypeDescription
busEventBusThe event bus.
pfdOrMfd"MFD"Whether to get the PFD or MFD setting manager.

Returns

UserSettingManager<MapSettingsMfdAliased>

A setting manager with aliased map user settings specific to the PFD or MFD.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:220

getAliasedManager(bus, pfdOrMfd): UserSettingManager<MapSettingsPfdAliased | MapSettingsMfdAliased>

Retrieves a setting manager with aliased map user settings specific to the PFD or MFD.

Parameters

NameTypeDescription
busEventBusThe event bus.
pfdOrMfdPfdOrMfdWhether to get the PFD or MFD setting manager.

Returns

UserSettingManager<MapSettingsPfdAliased | MapSettingsMfdAliased>

A setting manager with aliased map user settings specific to the PFD or MFD.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:221


getMasterManager

getMasterManager(bus): UserSettingManager<MapSettings>

Retrieves a setting manager with all map user settings.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<MapSettings>

A setting manager with all map user settings.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:214


getMfdManager

getMfdManager(bus): UserSettingManager<MapSettingsMfdAliased>

Retrieves a setting manager with aliased MFD map user settings.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<MapSettingsMfdAliased>

A setting manager with aliased MFD map user settings.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:260


getPfdManager

getPfdManager(bus): UserSettingManager<MapSettingsPfdAliased>

Retrieves a setting manager with aliased PFD map user settings.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<MapSettingsPfdAliased>

A setting manager with aliased PFD map user settings.

Defined in

workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:239