Class globals modules canvas_efis efis EFIS
class EFIS manage cockpit displays (=outputs) and sources (image generators for PFD, MFD, EICAS...) allow redirection of sources to alternate displays (allow for simulated display fault)
Classes
Functions
addDisplaySwapControl
ctrl: property path to integer prop mappings: vector of display mappings callback: optional function that will be called with current ctrl value
addSource
add a EFISCanvas instance as display source EFIS controls updating by tracking how often source is used returns source ID that can be used in mappings
addSourceSelector
selected: property (node or path) containing source number (integer) target: contains the DU number to which the source will be mapped sources: optional vector, selected -> source ID (as returned by addSource) defaults to all registered sources
displayWindow
open a canvas window for display unit <id>
new
create EFIS object display_names: vector of display names, one DisplayUnit per entry will be created object_names: vector of same size and order as display_names, containing 3D object names for canvas placement of the DisplayUnits
setPowerProp
-- public methods ----------------------- set power prop and add listener to start/stop all registered update functions e.g. power up will start updates, loss of power will stop updates