Class ModuleInstance
Object
|
+--ModuleInstance
- class
ModuleInstance
Creates a new ModuleInstance object.
Defined in ModuleInstance.js
|
Method Summary |
function
|
connectInputPin(net, pinName, place, inscription)
Creates a temporary ModulePin and connects it with the given place.
|
function
|
connectOutputPin(net, pinName, place, inscription)
Creates a temporary ModulePin and connects it with the given place.
|
function
|
getParameterValue(name)
Returns the value of a value's parameter.
|
function
|
selectImplementation(implName)
Selects an implementation for this module instance.
|
function
|
setParameterValue(name, value)
Sets the module parameter with the given name to the given value.
|
ModuleInstance
function ModuleInstance(javaObject)
Parameters:
javaObject - The java object to encapsulate.
connectInputPin
function connectInputPin(net, pinName, place, inscription)
Creates a temporary ModulePin and connects it with the given place.
Parameters:
net - The net to perform this operation in.
pinName - The name of the pin to create, must match a SlavePlace's name of the ModuleDefinition.
place - The Place to connect with.
inscription - The inscription of the connection arc.
connectOutputPin
function connectOutputPin(net, pinName, place, inscription)
Creates a temporary ModulePin and connects it with the given place.
Parameters:
net - The net to perform this operation in.
pinName - The name of the pin to create, must match a SlavePlace's name of the ModuleDefinition.
place - The Place to connect with.
inscription - The inscription of the connection arc.
getParameterValue
function getParameterValue(name)
Returns the value of a value's parameter.
Parameters:
name - The name of the parameter to get the value for.
selectImplementation
function selectImplementation(implName)
Selects an implementation for this module instance.
Parameters:
implName - The name of the implementation to use.
setParameterValue
function setParameterValue(name, value)
Sets the module parameter with the given name to the given value.
Parameters:
name - The name of the parameter to set.
value - The value to set.