Class inria.meije.rc.sugarcubes.Control
All Packages Class Hierarchy This Package Previous Next Index
Class inria.meije.rc.sugarcubes.Control
java.lang.Object
|
+----inria.meije.rc.sugarcubes.Instruction
|
+----inria.meije.rc.sugarcubes.UnaryInstruction
|
+----inria.meije.rc.sugarcubes.Control
- public class Control
- extends UnaryInstruction
- implements EventConsts
A Control instruction executes its body only at instants where
a given event is generated.
-
eventName
-
-
Control(String, Instruction)
-
-
activation(Machine)
- Specific activation.
-
equals(Instruction)
- Equality of two instructions implies that they are of the same type.
-
remain(Machine)
- Specific residual method.
-
toString()
- Instructions can be converted to strings.
eventName
protected String eventName
Control
public Control(String eventName,
Instruction body)
equals
public final boolean equals(Instruction inst)
- Equality of two instructions implies that they are of the same type.
- Overrides:
- equals in class UnaryInstruction
toString
public final String toString()
- Instructions can be converted to strings.
- Overrides:
- toString in class Instruction
remain
protected Instruction remain(Machine machine)
- Specific residual method.
- Overrides:
- remain in class Instruction
activation
protected byte activation(Machine machine)
- Specific activation.
- Overrides:
- activation in class Instruction
All Packages Class Hierarchy This Package Previous Next Index