engine
Interface ModuleFactory
- All Known Implementing Classes:
- StdGateDescription, UserModuleDescription
- public abstract interface ModuleFactory
- extends java.io.Serializable
Used by ModuleInstnceDescription to create a
new module instance by calling createNewModule on the
descriptor. Its use is that provides a means of hiding the
specific module interfacing mechanism (for an example UDPs
have internal wires for ports while standard primitives
are 'void', etc.) from the ModuleInstanceDescription, which
is a common class to all module instances.
| Fields inherited from class java.io.Serializable |
serialVersionUID |
|
Method Summary |
java.lang.Object |
createNewModule(NameSpace parent,
ModuleInstanceDescription miDesc,
byte strength,
ScopeNode scope)
|
java.lang.Object |
createNewModuleArray(NameSpace parent,
ModuleInstanceDescription miDesc,
byte strength,
ScopeNode scope,
int ars,
int are,
int n,
int increment)
|
boolean |
isTop()
|
java.lang.String |
name()
|
void |
setParams(java.util.Vector results,
Delay3 delays)
Sets the parameters for the
following instantiations. |
void |
unsetParams()
Reverses the parameters to their default values. |
createNewModule
public java.lang.Object createNewModule(NameSpace parent,
ModuleInstanceDescription miDesc,
byte strength,
ScopeNode scope)
throws ParseException
createNewModuleArray
public java.lang.Object createNewModuleArray(NameSpace parent,
ModuleInstanceDescription miDesc,
byte strength,
ScopeNode scope,
int ars,
int are,
int n,
int increment)
throws ParseException
setParams
public void setParams(java.util.Vector results,
Delay3 delays)
throws ParseException
- Sets the parameters for the
following instantiations.
unsetParams
public void unsetParams()
- Reverses the parameters to their default values.
isTop
public boolean isTop()
name
public java.lang.String name()