From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

XDCscript - Module-Body.module$static$init

Initialize module's State object

Contents

Synopsis

 
function module$static$init(state, mod)

Parameters

state
a typed object that corresponds to the Module_State declaration
mod
a typed object representing the current module, containing the values of all module-wide configuration parameters

Description

This method initializes the module's state object (declared in by Module_State in the module's specification) based on module-wide configuration parameters.

The values used to initialize state are used to initialize the corresponding target-side module static data. No changes to configuration parameters are allowed here.

See also

XDCscript - Module-Body.module$meta$init Initialize meta-domain module state
Creating Configurable Content How to leverage the configuration process

[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference