Class: MinimumsAlertController
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/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/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:64
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
airGroundDataProvider | AirGroundDataProvider | The air/ground system data provider to use. |
altitudeDataProvider | AltitudeDataProvider | The altitude data provider to use. |
radioAltimeterDataProvider | RadioAltimeterDataProvider | The radio altimeter data provider to use. |
Returns
MinimumsAlertController
Overrides
Properties
airGroundDataProvider
protectedreadonlyairGroundDataProvider:AirGroundDataProvider
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:66
The air/ground system data provider to use.
altitudeDataProvider
protectedreadonlyaltitudeDataProvider:AltitudeDataProvider
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:67
The altitude data provider to use.
baroPlaneAltitudePipe
protectedreadonlybaroPlaneAltitudePipe:Subscription
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:54
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:65
The event bus.
Inherited from
pacer
protectedreadonlypacer:undefined|PublishPacer<Epic2MinimumsEvents>
Defined in: sdk/instruments/BasePublishers.ts:13
Inherited from
publishActive
protectedpublishActive:boolean
Defined in: sdk/instruments/BasePublishers.ts:12
Inherited from
publisher
protectedreadonlypublisher:Publisher<Epic2MinimumsEvents>
Defined in: sdk/instruments/BasePublishers.ts:11
Inherited from
radioAltimeterDataProvider
protectedreadonlyradioAltimeterDataProvider:RadioAltimeterDataProvider
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/MinimumsAlert/MinimumsAlertController.ts:68
The radio altimeter data provider to use.
radioPlaneAltitudePipe
protectedreadonlyradioPlaneAltitudePipe:Subscription
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/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
onUpdate()
onUpdate():
void
Defined in: sdk/instruments/BasePublishers.ts:52
A callback called when the publisher receives an update cycle.
Returns
void
Inherited from
publish()
protectedpublish<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
| Parameter | Type | Default value | Description |
|---|---|---|---|
topic | K | undefined | The topic key to publish to. |
data | Epic2MinimumsEvents[K] | undefined | The data type for chosen topic. |
sync | boolean | false | Whether or not the event should be synced to other instruments. Defaults to false. |
isCached | boolean | true | Whether or not the event should be cached. Defaults to true. |
Returns
void
Inherited from
startPublish()
startPublish():
void
Defined in: sdk/instruments/BasePublishers.ts:30
Start publishing.
Returns
void
Inherited from
stopPublish()
stopPublish():
void
Defined in: sdk/instruments/BasePublishers.ts:37
Stop publishing.
Returns
void