Class inria.meije.rc.sugarcubes.Event
All Packages Class Hierarchy This Package Previous Next Index
Class inria.meije.rc.sugarcubes.Event
java.lang.Object
|
+----inria.meije.rc.sugarcubes.Event
- public class Event
- extends Object
- implements ReturnCodes, EventConsts, ParamTypes, Cloneable
The Event class. To indicate that the event is generated during
the current instant, one sets generated to this instant number.
The presence method returns the presence status of the event.
-
generated
- For generating the event.
-
kind
- Kind of parameter (for behaviors).
-
link
- Name of the actual parameter (for behaviors).
-
name
- Event name.
-
Event(String)
-
-
clone()
- Event class implements cloneable.
-
generate(Machine)
- Generate the event in a machine.
-
isAbsent(Machine)
- Is the event absent in a machine ?
-
isHypothesisMade(Machine)
- Is an hypothesis already made on the event ?
-
isInput()
- Is the event an input ? (for automata production).
-
isOutput()
- Is the event an output ? (for automata production).
-
isPresent(Machine)
- Is the event present in a machine ?
-
localize()
- To localize the event (for automata production).
-
makeAbsent(Machine)
- Make the event absent in a machine.
-
makeHypothesis(Machine)
- Make an hypothesis on the event.
-
presence(Machine)
- The presence method.
-
toString()
- Conversion to String.
name
public String name
- Event name.
link
public String link
- Name of the actual parameter (for behaviors).
kind
public byte kind
- Kind of parameter (for behaviors).
generated
protected int generated
- For generating the event.
Event
public Event(String name)
generate
public void generate(Machine machine)
- Generate the event in a machine.
isPresent
public boolean isPresent(Machine machine)
- Is the event present in a machine ?
makeAbsent
public void makeAbsent(Machine machine)
- Make the event absent in a machine.
isAbsent
public boolean isAbsent(Machine machine)
- Is the event absent in a machine ?
isHypothesisMade
public boolean isHypothesisMade(Machine machine)
- Is an hypothesis already made on the event ?
makeHypothesis
public void makeHypothesis(Machine machine)
- Make an hypothesis on the event.
toString
public String toString()
- Conversion to String.
- Overrides:
- toString in class Object
localize
public void localize()
- To localize the event (for automata production).
isInput
public boolean isInput()
- Is the event an input ? (for automata production).
isOutput
public boolean isOutput()
- Is the event an output ? (for automata production).
clone
public Object clone()
- Event class implements cloneable.
- Overrides:
- clone in class Object
presence
public byte presence(Machine machine)
- The presence method.
All Packages Class Hierarchy This Package Previous Next Index