Library globals

Class globals . modules . canvas_efis . eicas_message_sys . MessageSystem

View source

(no description)

Functions

addAuralAlert

addAuralAlerts

addMessageClass

class_name: identifier for msg class paging: true = normal paging, false = msg class is sticky at top of list returns class id (int)

addMessages

addMessages creates a new msg class and add messages to it class: class id returned by addMessageClass(); messages: vector of message objects (hashes)

auralAlert

createCanvasTextLines

create text elements for message lines in canvas group; call setCanvasGroup() first!

createPageIndicator

create text element for "page i of N"; call setCanvasGroup() first! returns the text element

disableMessage

inhibit message id (or all messages in class if no id is given)

enableMessage

re-enable message id (or all messages in class if no id is given)

getActiveMessages

returns message queue and clears the hasUpdate flag

getFirstUpdateIndex

getMessageID

find message text, return id

getPageLength

hasUpdate

init

-- check for active messages and set new-msg flags. can be used on power up to trigger new-msg events.

new

setCanvasGroup

pass an existing canvas group to create text elements on

setMessage

(de-)activate message

setPageLength

setPowerProp

set power prop and add listener to start/stop all registered update functions

setSoundPath

updateCanvas

call this regularly to update text lines on canvas

updatePageIndicator

Variables

NO_PAGING

PAGING