Library globals

Class globals . modules . Module

View source

Class Module
to handle a re-loadable Nasal module at runtime

Functions

get

return variable from module namespace

getFilePath

getNamespace

getNamespaceName

getNode

load

load module if no arguments are given, the Module object will be passed to main()

new

id: must be a string without special characters or spaces ns: optional namespace name node: optional property node for module management

printTrackedResources

reload

setDebug

setFilePath

setMainFile

setNamespace

setlistenerRuntimeDefault

to change the default setlistener behaviour regarding 'runtime' argument i: int 0..2 passed to setlistener as 4th parameter if not specified explicitly

unload

unload a module and remove its tracked resources