Abstract Class: AbstractG3000MfdPlugin
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:113
An abstract implementation of G3000MfdPlugin that by default does nothing. Subclasses should override the appropriate methods to provide desired functionality.
Extends
AvionicsPlugin
<G3000MfdPluginBinder
>
Implements
Constructors
Constructor
new AbstractG3000MfdPlugin(
binder
):AbstractG3000MfdPlugin
Defined in: sdk/components/FSComponent.ts:1461
Creates an instance of a Plugin.
Parameters
Parameter | Type | Description |
---|---|---|
binder | G3000MfdPluginBinder | The avionics specific plugin binder to accept from the system. |
Returns
AbstractG3000MfdPlugin
Inherited from
AvionicsPlugin<G3000MfdPluginBinder>.constructor
Properties
binder
protected
readonly
binder:G3000MfdPluginBinder
Defined in: sdk/components/FSComponent.ts:1461
The avionics specific plugin binder to accept from the system.
Implementation of
Inherited from
AvionicsPlugin.binder
onComponentCreated()?
optional
onComponentCreated: (component
) =>void
Defined in: sdk/components/FSComponent.ts:1481
An optional hook called when a component is created. If this hook is present, it will be called for EVERY component instantiation, so be sure to ensure that this code is well optimized.
Parameters
Parameter | Type |
---|---|
component | DisplayComponent <any > |
Returns
void
Implementation of
G3000MfdPlugin
.onComponentCreated
Inherited from
AvionicsPlugin.onComponentCreated
onComponentCreating()?
optional
onComponentCreating: (constructor
,props
) =>undefined
|DisplayComponent
<any
, []>
Defined in: sdk/components/FSComponent.ts:1474
An optional hook called when a component is about to be created. Returning a component causes that component to be used instead of the one that was to be created, and returning undefined will cause the original component to be created. If this hook is present, it will be called for EVERY component instantiation, so be sure to ensure that this code is well optimized.
Parameters
Parameter | Type |
---|---|
constructor | DisplayComponentFactory <any > |
props | any |
Returns
undefined
| DisplayComponent
<any
, []>
Implementation of
G3000MfdPlugin
.onComponentCreating
Inherited from
AvionicsPlugin.onComponentCreating
onComponentRendered()?
optional
onComponentRendered: (node
) =>void
Defined in: sdk/components/FSComponent.ts:1488
An optional hook called when a component has completed rendering. If this hook is present, it will be called for EVERY component render completion, so be sure to ensure that this code is well optimized.
Parameters
Parameter | Type |
---|---|
node | VNode |
Returns
void
Implementation of
G3000MfdPlugin
.onComponentRendered
Inherited from
AvionicsPlugin.onComponentRendered
Methods
getDisplayPanePowerOnOptions()
getDisplayPanePowerOnOptions():
undefined
|Readonly
<DisplayPanePowerOnOptions
>
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:162
Gets options with which to configure display pane logic on initial system power-on.
Returns
undefined
| Readonly
<DisplayPanePowerOnOptions
>
Configuration options for display pane logic on initial system power-on, or undefined
to use default
options if no other plugin specifies its own set of options.
Implementation of
G3000MfdPlugin
.getDisplayPanePowerOnOptions
getEspDefinition()
getEspDefinition():
undefined
|G3000EspDefinition
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:136
Gets a definition to be used for creating an electronic stability and protection (ESP) system.
Returns
undefined
| G3000EspDefinition
A definition to be used for creating an electronic stability and protection (ESP) system, or undefined
to omit a definition but still allow an ESP system to be created if a definition is specified by another plugin.
Implementation of
G3000MfdPlugin
.getEspDefinition
getInitializationProcess()
getInitializationProcess():
undefined
|InitializationProcess
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:172
Gets the initialization process to be used by the G3000.
Returns
undefined
| InitializationProcess
A initialization process to be used by the G3000, null
to specify that no initialization process should
be used, or undefined
to omit a specification but still allow an initialization process to be used if one was
specified by another plugin.
Implementation of
G3000MfdPlugin
.getInitializationProcess
getPersistentSettings()
getPersistentSettings():
Iterable
<UserSetting
<any
>>
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:157
Gets settings whose values should be saved across flight sessions.
Returns
Iterable
<UserSetting
<any
>>
An iterable of settings whose values should be saved across flight sessions.
Implementation of
G3000MfdPlugin
.getPersistentSettings
getStartupScreenRows()
getStartupScreenRows():
undefined
| readonly (StartupScreenRowFactory
|StartupScreenPrebuiltRow
)[]
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:167
Gets the data rows to render on the right side of the MFD startup screen. Each row is defined by either a function which returns an object describing the row to render, or a pre-built row key. Up to eleven rows can be rendered. This method is ignored if the system is not configured to support the startup screen.
Returns
undefined
| readonly (StartupScreenRowFactory
| StartupScreenPrebuiltRow
)[]
An array of rows to render on the right side of the MFD startup screen. The rows will be rendered from top to bottom in the order in which they appear in the array. If not defined, a default set of rows will be rendered.
Implementation of
G3000MfdPlugin
.getStartupScreenRows
getToldModule()
getToldModule():
undefined
|ToldModule
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:152
Gets a module to be used for calculating takeoff and landing performance values. This method is only called if TOLD calculations are configured via panel.xml. If TOLD calculations are configured but a module is not provided by this method, then TOLD calculations will be disabled.
Returns
undefined
| ToldModule
A TOLD module, or undefined
if no TOLD module is to be used.
Implementation of
getWeightBalancePaneViewModule()
getWeightBalancePaneViewModule():
undefined
|WeightBalancePaneViewModule
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:147
Gets a module to be used for customizing the weight and balance display pane. This method is only called if weight
and balance is configured via panel.xml
.
Returns
undefined
| WeightBalancePaneViewModule
A weight and balance display pane module, or undefined
to omit a module.
Implementation of
G3000MfdPlugin
.getWeightBalancePaneViewModule
loadCss()
protected
loadCss(uri
):Promise
<void
>
Defined in: sdk/components/FSComponent.ts:1494
Loads a CSS file into the instrument.
Parameters
Parameter | Type | Description |
---|---|---|
uri | string | The URI to the CSS file. |
Returns
Promise
<void
>
Implementation of
Inherited from
AvionicsPlugin.loadCss
onEspCreated()
onEspCreated(
esp
,dataProvider
):void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:142
A method that is called when an electronic stability and protection (ESP) system is created.
Parameters
Parameter | Type | Description |
---|---|---|
esp | G3000EspInterface | The ESP system. |
dataProvider | EspDataProvider | The data provider for the ESP system. |
Returns
void
Implementation of
onInit()
onInit():
void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:120
Lifecycle method called during instrument initialization.
Returns
void
Implementation of
onInstalled()
onInstalled():
void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:115
A callback run when the plugin has been installed.
Returns
void
Implementation of
Overrides
AvionicsPlugin.onInstalled
registerDisplayPaneViews()
registerDisplayPaneViews(
viewFactory
):void
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:131
Registers display pane views.
Parameters
Parameter | Type | Description |
---|---|---|
viewFactory | DisplayPaneViewFactory | The factory with which to register views. |
Returns
void
Implementation of
G3000MfdPlugin
.registerDisplayPaneViews
renderEis()
renderEis():
null
|VNode
Defined in: workingtitle-instruments-g3000/html_ui/MFD/G3000MFDPlugin.ts:125
Renders the EIS.
Returns
null
| VNode
The EIS, as a VNode, or null
if no EIS is to be rendered.