Class inria.meije.rc.sugarcubes.ValuedEvent
All Packages Class Hierarchy This Package Previous Next Index
Class inria.meije.rc.sugarcubes.ValuedEvent
java.lang.Object
|
+----inria.meije.rc.sugarcubes.Event
|
+----inria.meije.rc.sugarcubes.ValuedEvent
- public class ValuedEvent
- extends Event
The valued event class. Generated values are combined in the
write field. Event's value is in the read field.
-
read
-
-
write
-
-
ValuedEvent(String)
-
-
combination(Object, Object)
- Abstract combination function.
-
generate(Machine, Object)
- Generate event with a value in a machine.
-
value(Machine)
- Get the value of the valued event.
read
protected Object read
write
protected Object write
ValuedEvent
public ValuedEvent(String name)
combination
protected abstract Object combination(Object o1,
Object o2)
- Abstract combination function.
generate
public void generate(Machine machine,
Object value)
- Generate event with a value in a machine.
value
public Object value(Machine machine)
- Get the value of the valued event. It is always the value at previous
instant.
All Packages Class Hierarchy This Package Previous Next Index