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 - Proxy-Object.delegate$

Module that implements the proxy's interface

Contents

Synopsis

 
 
var Mod = xdc.module("«moduleName»");
var ProxyMod = Mod.«ProxyName».delegate$;

Description

The delegate$ property of a proxy object is the module that implements the interface provided by the proxy. This property is typically used to enable configuration script to set the underlying implementation module's configuration parameters.

Example

The following script disables the "entry" trace of the underlying implementation of the System.SupportProxy proxy.

 
 
 
 
 
 
 
 
 
/* get the System module's SystemSupport proxy's implementing module */
var System = xdc.module("xdc.runtime.System");
var SupportMod = System.SupportProxy.delegate$;
/* disable entry trace for this module */
var Diags = xdc.useModule("xdc.runtime.Diags");
SupportMod.common$.diags_ENTRY = Diags.ALWAYS_OFF;
 
 
 
Views
Personal tools
package reference