|
|||||||||
| Home >> All >> [ engine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
engine
Class ModuleInstanceDescription

java.lang.Objectengine.Symbol
engine.ModuleInstanceDescription
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ModuleArrayDescription
- class ModuleInstanceDescription
- extends Symbol
Describes the way a module is instantiated (it describes the assignements between the container module and the submodule ports).
| Field Summary | |
static int |
blockType
|
static int |
connType
|
(package private) Delay3Description |
delays
|
(package private) ModuleFactory |
descriptor
Contains a list of (name, ExpressionDescription (these refer to the parent !)) pairs to be linked to ports by names. |
(package private) java.lang.String |
descriptorName
The name of descriptor(if forward referenced). |
static int |
funcType
|
static int |
intType
|
(package private) int |
lineNo
|
static int |
moduleArType
|
static int |
moduleType
|
java.lang.String |
name
|
(package private) java.util.Vector |
parameters
Holds the expressions that parameters will be assigned to |
static int |
paramType
|
(package private) java.util.Hashtable |
portsHash
|
(package private) java.util.Vector |
portsVector
Contains the Expressions (these refer to the parent !) descriptions to be linked to ports in an odered list. |
static int |
portType
|
static int |
realType
|
static int |
regType
|
(package private) byte |
strength
The primitve Strength (If this is a primitive instance). |
static int |
taskType
|
static int |
udpType
|
static int |
wireType
|
| Constructor Summary | |
(package private) |
ModuleInstanceDescription(java.lang.String name,
int lineNo,
java.lang.String descriptorName,
ModuleFactory descriptor,
byte strength,
Delay3Description delays,
java.util.Vector portsVector,
java.util.Hashtable portsHash,
java.util.Vector parameters)
Creates a new ModuleInstanceDescription object. |
| Method Summary | |
int |
getType()
|
(package private) java.lang.Object |
instantiate(NameSpace parent,
middle.ScopeNode scope)
|
(package private) java.util.Vector |
instantiateParams(NameSpace ns)
|
(package private) void |
orderPorts(java.util.Vector conList,
java.util.Hashtable conHash)
If 'by name' connection, order the ports to match descriptor.ConnectionList order. |
(package private) void |
resolveDescriptor(NameSpace parent)
Finds the right descriptor and sets it up for the next instantiation. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
portsVector
java.util.Vector portsVector
- Contains the Expressions (these refer to the parent !)
descriptions to be linked
to ports in an odered list.
portsHash
java.util.Hashtable portsHash
descriptor
transient ModuleFactory descriptor
- Contains a list of (name, ExpressionDescription
(these refer to the parent !))
pairs to be linked to ports by names.
Hashtable portsHash;
/**
The descriptor of the submodule.
descriptorName
java.lang.String descriptorName
- The name of descriptor(if forward referenced). Must be resolved at
instantiation time.
parameters
java.util.Vector parameters
- Holds the expressions that parameters will be assigned to
strength
byte strength
- The primitve Strength (If this is a primitive instance).
delays
Delay3Description delays
name
public java.lang.String name
lineNo
int lineNo
regType
public static final int regType
- See Also:
- Constant Field Values
wireType
public static final int wireType
- See Also:
- Constant Field Values
paramType
public static final int paramType
- See Also:
- Constant Field Values
portType
public static final int portType
- See Also:
- Constant Field Values
realType
public static final int realType
- See Also:
- Constant Field Values
intType
public static final int intType
- See Also:
- Constant Field Values
funcType
public static final int funcType
- See Also:
- Constant Field Values
taskType
public static final int taskType
- See Also:
- Constant Field Values
blockType
public static final int blockType
- See Also:
- Constant Field Values
moduleType
public static final int moduleType
- See Also:
- Constant Field Values
udpType
public static final int udpType
- See Also:
- Constant Field Values
connType
public static final int connType
- See Also:
- Constant Field Values
moduleArType
public static final int moduleArType
- See Also:
- Constant Field Values
| Constructor Detail |
ModuleInstanceDescription
ModuleInstanceDescription(java.lang.String name, int lineNo, java.lang.String descriptorName, ModuleFactory descriptor, byte strength, Delay3Description delays, java.util.Vector portsVector, java.util.Hashtable portsHash, java.util.Vector parameters)
- Creates a new ModuleInstanceDescription object.
| Method Detail |
instantiateParams
java.util.Vector instantiateParams(NameSpace ns) throws ParseException, InterpretTimeException
resolveDescriptor
void resolveDescriptor(NameSpace parent) throws ParseException
- Finds the right descriptor and sets
it up for the next instantiation.
orderPorts
void orderPorts(java.util.Vector conList, java.util.Hashtable conHash) throws ParseException
- If 'by name' connection, order the ports to match
descriptor.ConnectionList order.
instantiate
java.lang.Object instantiate(NameSpace parent, middle.ScopeNode scope) throws ParseException
- Specified by:
instantiatein classSymbol
getType
public int getType()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> [ engine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC