|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.SIRLatency
at.dms.kjc.sir.SIRLatencyMax
at.dms.kjc.sir.SIRLatencyRange
public class SIRLatencyRange
This represents a range of latencies for message delivery.
Field Summary | |
---|---|
protected JExpression |
min
The minimum latency for this. |
Fields inherited from class at.dms.kjc.sir.SIRLatencyMax |
---|
max |
Fields inherited from class at.dms.kjc.sir.SIRLatency |
---|
BEST_EFFORT |
Constructor Summary | |
---|---|
protected |
SIRLatencyRange()
No argument constructor, FOR AUTOMATIC CLONING ONLY. |
|
SIRLatencyRange(JExpression min,
JExpression max)
Constructs a latency with the range between |
Method Summary | |
---|---|
Object |
accept(AttributeVisitor p)
Accepts the specified attribute visitor. |
void |
accept(KjcVisitor p)
Accepts the specified visitor. |
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(SIRLatencyRange other)
Clones all fields of this into |
int |
getMin()
Returns the minimum of this range. |
JExpression |
getMinExpression()
Returns the minimum of this latency. |
boolean |
isExact()
Returns whether or not this latency is constrained to be an exact value, without a range of zero. |
void |
setMinExpression(JExpression _min)
Sets minimum of this latency. |
String |
toString()
|
Methods inherited from class at.dms.kjc.sir.SIRLatencyMax |
---|
compareTo, deepCloneInto, getMax, getMaxExpression, setMaxExpression |
Methods inherited from class at.dms.kjc.sir.SIRLatency |
---|
deepCloneInto |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected JExpression min
Constructor Detail |
---|
protected SIRLatencyRange()
public SIRLatencyRange(JExpression min, JExpression max)
Method Detail |
---|
public JExpression getMinExpression()
public void setMinExpression(JExpression _min)
public int getMin()
public boolean isExact()
public String toString()
toString
in class SIRLatency
public Object accept(AttributeVisitor p)
accept
in class SIRLatencyMax
p
- the visitorpublic void accept(KjcVisitor p)
accept
in class SIRLatencyMax
public Object deepClone()
deepClone
in interface DeepCloneable
deepClone
in class SIRLatencyMax
protected void deepCloneInto(SIRLatencyRange other)
other
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |