From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
XDCscript - Instance-Body.instance$static$init
Statically initialize a target module's instance object
Contents |
Synopsis
| function instance$static$init(obj, [r1, ...,] params) |
Parameters
- obj
- the instance object to be initialized
- params
- the instance config parameters
- r1, ...
- the required create parameters declared in the create methods of the module. If no parameters are declared, then only obj and params are passed to this function.
Description
This function is called to initialize the instance object obj. No changes in configuration parameters are allowed, but the instance object's state may be initialized as a function of its parameters.
For information about the order in which module and instance functions are invoked, see Creating Configurable Content.
See also
XDCscript - Instance-Body.instance$meta$init | Initialize a meta-only module's instance |
Creating Configurable Content | How to leverage the configuration process |
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved