Skip to main content

Class: HsiFormatController

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/HsiFormatController.ts:42

A map system controller that controls the display settings of the various format and terrain/wxr combinations.

Extends​

Constructors​

Constructor​

new HsiFormatController(context, settings): HsiFormatController

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/HsiFormatController.ts:48

Creates an instance of the MapFormatController.

Parameters​

ParameterTypeDescription
contextMapSystemContext<MapFormatControllerModules>The map system context to use with this controller.
settingsUserSettingManager<PfdAliasedUserSettingTypes>The settings manager to use.

Returns​

HsiFormatController

Overrides​

MapFormatController.constructor

Properties​

bingLayer?​

protected readonly optional bingLayer: MapBingLayer<any>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:77

Inherited from​

MapFormatController.bingLayer


context​

protected readonly context: MapSystemContext<MapFormatControllerModules, MapFormatControllerLayers, any, any>

Defined in: sdk/components/mapsystem/MapSystemController.ts:24

Inherited from​

MapFormatController.context


currentMapFormatConfig​

protected readonly currentMapFormatConfig: Subscribable<MapFormatConfig>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:119

A subscribable for the current map format config.

Inherited from​

MapFormatController.currentMapFormatConfig


isOnGround​

protected readonly isOnGround: ConsumerSubject<boolean>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:86

Inherited from​

MapFormatController.isOnGround


sub​

protected readonly sub: EventSubscriber<AirGroundDataProviderEvents>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:85

Inherited from​

MapFormatController.sub


terrainWeatherStateModule​

protected readonly terrainWeatherStateModule: MapTerrainWeatherStateModule

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:68

Inherited from​

MapFormatController.terrainWeatherStateModule


terrWxState​

protected readonly terrWxState: Subscribable<TerrWxState>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:120

A subscribable for the current terr wx state.

Inherited from​

MapFormatController.terrWxState


tfcEnabled​

protected readonly tfcEnabled: Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:121

A subscribable for whether tfc is enabled.

Inherited from​

MapFormatController.tfcEnabled


weatherModule​

protected readonly weatherModule: MapWxrModule

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:69

Inherited from​

MapFormatController.weatherModule


WX_NEXRAD_COLORS​

readonly static WX_NEXRAD_COLORS: readonly readonly [number, number][]

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:99

Inherited from​

MapFormatController.WX_NEXRAD_COLORS


WX_RADAR_COLORS​

readonly static WX_RADAR_COLORS: readonly readonly [number, number][]

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:91

Inherited from​

MapFormatController.WX_RADAR_COLORS

Accessors​

isAlive​

Get Signature​

get isAlive(): boolean

Defined in: sdk/components/mapsystem/MapSystemController.ts:20

Whether this controller is alive.

Returns​

boolean

Inherited from​

MapFormatController.isAlive

Methods​

destroy()​

destroy(): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:106

Destroys this controller.

Returns​

void

Inherited from​

MapFormatController.destroy


getOffset()​

protected getOffset(formatConfig): Float64Array

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:274

Sets the map target offset for the specified format.

Parameters​

ParameterTypeDescription
formatConfigMapFormatConfigThe format config to use.

Returns​

Float64Array

The target projected offset.

Inherited from​

MapFormatController.getOffset


getRangeEndpoints()​

protected getRangeEndpoints(formatConfig): Float64Array

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:283

Calculates the range endpoints for a given format config.

Parameters​

ParameterTypeDescription
formatConfigMapFormatConfigThe format config to use.

Returns​

Float64Array

The calculated range endpoints.

Inherited from​

MapFormatController.getRangeEndpoints


onAfterMapRender()​

onAfterMapRender(): void

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/HsiFormatController.ts:69

Returns​

void

Inherit Doc​

Overrides​

MapFormatController.onAfterMapRender


onAfterUpdated()​

onAfterUpdated(time, elapsed): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:78

This method is called immediately after this controller's map updates its layers.

Parameters​

ParameterTypeDescription
timenumberThe current time, as a Javascript timestamp.
elapsednumberThe elapsed time, in milliseconds, since the last update.

Returns​

void

Inherited from​

MapFormatController.onAfterUpdated


onBeforeUpdated()​

onBeforeUpdated(time, elapsed): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:68

This method is called immediately before this controller's map updates its layers.

Parameters​

ParameterTypeDescription
timenumberThe current time, as a Javascript timestamp.
elapsednumberThe elapsed time, in milliseconds, since the last update.

Returns​

void

Inherited from​

MapFormatController.onBeforeUpdated


onDeadZoneChanged()​

onDeadZoneChanged(deadZone): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:48

This method is called when the dead zone of this controller's map changes.

Parameters​

ParameterTypeDescription
deadZoneReadonlyFloat64ArrayThe map's new dead zone.

Returns​

void

Inherited from​

MapFormatController.onDeadZoneChanged


onMapDestroyed()​

onMapDestroyed(): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:99

This method is called when this controller's map is destroyed.

Returns​

void

Inherited from​

MapFormatController.onMapDestroyed


onMapProjectionChanged()​

onMapProjectionChanged(_mapProjection, changeFlags): void

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:136

Parameters​

ParameterType
_mapProjectionMapProjection
changeFlagsnumber

Returns​

void

Inherit Doc​

Inherited from​

MapFormatController.onMapProjectionChanged


onSleep()​

onSleep(): void

Defined in: sdk/components/mapsystem/MapSystemController.ts:92

This method is called when this controller's map is put to sleep.

Returns​

void

Inherited from​

MapFormatController.onSleep


onWake()​

onWake(): void

Defined in: workingtitle-instruments-epic2/shared/Map/Controllers/MapFormatController.ts:130

Returns​

void

Inherit Doc​

Inherited from​

MapFormatController.onWake