|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.slicegraph.ProcElement
at.dms.kjc.backendSupport.ComputeNode<StoreType>
StoreType
- A recursive type: ComputeCodeStore's and ComputeNode's refer to each other and may be extended...public class ComputeNode<StoreType extends ComputeCodeStore<?>>
This abstract class represents a device that can perform computation.
For such a devide, it makes sense to associate SliceNode
s
with the device, and to create ComputeCode for the SliceNodes.
Field Summary | |
---|---|
protected StoreType |
computeCode
|
Constructor Summary | |
---|---|
ComputeNode()
Constructor. |
Method Summary | |
---|---|
StoreType |
getComputeCode()
Access the ComputeCodeStore for this compute node. |
int |
getUniqueId()
return unique integer representing this compute node. |
void |
setComputeCode(StoreType computeCode)
Set theComputeCodeStore for this compute node. |
void |
setUniqueId(int unique_id)
set unique integer representing this compute node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StoreType extends ComputeCodeStore<?> computeCode
Constructor Detail |
---|
public ComputeNode()
MyComputeNodeType computenode = new MyComputeNodeType(); computenode.setComputeNode(new MyCodeStoreType (computenode);
Method Detail |
---|
public StoreType getComputeCode()
public void setComputeCode(StoreType computeCode)
a
- ComputeCodeStore subclass (actual type as per paramaterization of ComputeNode)public void setUniqueId(int unique_id)
public int getUniqueId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |