Skip to main content

Class: MinimumsAlertController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:30

A controller to contain the logic for Minimums Alert

Extends​

Constructors​

Constructor​

new MinimumsAlertController(bus, airGroundDataProvider, altitudeDataProvider, radioAltimeterDataProvider): MinimumsAlertController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:64

Constructor.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
airGroundDataProviderAirGroundDataProviderThe air/ground system data provider to use.
altitudeDataProviderAltitudeDataProviderThe altitude data provider to use.
radioAltimeterDataProviderRadioAltimeterDataProviderThe radio altimeter data provider to use.

Returns​

MinimumsAlertController

Overrides​

BasePublisher<Epic2MinimumsEvents>.constructor

Properties​

airGroundDataProvider​

protected readonly airGroundDataProvider: AirGroundDataProvider

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:66

The air/ground system data provider to use.


altitudeDataProvider​

protected readonly altitudeDataProvider: AltitudeDataProvider

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:67

The altitude data provider to use.


baroPlaneAltitudePipe​

protected readonly baroPlaneAltitudePipe: Subscription

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:54


bus​

protected readonly bus: EventBus

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:65

The event bus.

Inherited from​

BasePublisher.bus


pacer​

protected readonly pacer: undefined | PublishPacer<Epic2MinimumsEvents>

Defined in: sdk/instruments/BasePublishers.ts:13

Inherited from​

BasePublisher.pacer


publishActive​

protected publishActive: boolean

Defined in: sdk/instruments/BasePublishers.ts:12

Inherited from​

BasePublisher.publishActive


publisher​

protected readonly publisher: Publisher<Epic2MinimumsEvents>

Defined in: sdk/instruments/BasePublishers.ts:11

Inherited from​

BasePublisher.publisher


radioAltimeterDataProvider​

protected readonly radioAltimeterDataProvider: RadioAltimeterDataProvider

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:68

The radio altimeter data provider to use.


radioPlaneAltitudePipe​

protected readonly radioPlaneAltitudePipe: Subscription

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:55

Methods​

isPublishing()​

isPublishing(): boolean

Defined in: sdk/instruments/BasePublishers.ts:45

Tells whether or not the publisher is currently active.

Returns​

boolean

True if the publisher is active, false otherwise.

Inherited from​

BasePublisher.isPublishing


onUpdate()​

onUpdate(): void

Defined in: sdk/instruments/BasePublishers.ts:52

A callback called when the publisher receives an update cycle.

Returns​

void

Inherited from​

BasePublisher.onUpdate


publish()​

protected publish<K>(topic, data, sync, isCached): void

Defined in: sdk/instruments/BasePublishers.ts:63

Publish a message if publishing is acpive

Type Parameters​

Type Parameter
K extends keyof Epic2MinimumsEvents

Parameters​

ParameterTypeDefault valueDescription
topicKundefinedThe topic key to publish to.
dataEpic2MinimumsEvents[K]undefinedThe data type for chosen topic.
syncbooleanfalseWhether or not the event should be synced to other instruments. Defaults to false.
isCachedbooleantrueWhether or not the event should be cached. Defaults to true.

Returns​

void

Inherited from​

BasePublisher.publish


startPublish()​

startPublish(): void

Defined in: sdk/instruments/BasePublishers.ts:30

Start publishing.

Returns​

void

Inherited from​

BasePublisher.startPublish


stopPublish()​

stopPublish(): void

Defined in: sdk/instruments/BasePublishers.ts:37

Stop publishing.

Returns​

void

Inherited from​

BasePublisher.stopPublish