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.

Variable Index

 o generated
For generating the event.
 o kind
Kind of parameter (for behaviors).
 o link
Name of the actual parameter (for behaviors).
 o name
Event name.

Constructor Index

 o Event(String)

Method Index

 o clone()
Event class implements cloneable.
 o generate(Machine)
Generate the event in a machine.
 o isAbsent(Machine)
Is the event absent in a machine ?
 o isHypothesisMade(Machine)
Is an hypothesis already made on the event ?
 o isInput()
Is the event an input ? (for automata production).
 o isOutput()
Is the event an output ? (for automata production).
 o isPresent(Machine)
Is the event present in a machine ?
 o localize()
To localize the event (for automata production).
 o makeAbsent(Machine)
Make the event absent in a machine.
 o makeHypothesis(Machine)
Make an hypothesis on the event.
 o presence(Machine)
The presence method.
 o toString()
Conversion to String.

Variables

 o name
  public String name
Event name.
 o link
  public String link
Name of the actual parameter (for behaviors).
 o kind
  public byte kind
Kind of parameter (for behaviors).
 o generated
  protected int generated
For generating the event.

Constructors

 o Event
  public Event(String name)

Methods

 o generate
  public void generate(Machine machine)
Generate the event in a machine.
 o isPresent
  public boolean isPresent(Machine machine)
Is the event present in a machine ?
 o makeAbsent
  public void makeAbsent(Machine machine)
Make the event absent in a machine.
 o isAbsent
  public boolean isAbsent(Machine machine)
Is the event absent in a machine ?
 o isHypothesisMade
  public boolean isHypothesisMade(Machine machine)
Is an hypothesis already made on the event ?
 o makeHypothesis
  public void makeHypothesis(Machine machine)
Make an hypothesis on the event.
 o toString
  public String toString()
Conversion to String.
Overrides:
toString in class Object
 o localize
  public void localize()
To localize the event (for automata production).
 o isInput
  public boolean isInput()
Is the event an input ? (for automata production).
 o isOutput
  public boolean isOutput()
Is the event an output ? (for automata production).
 o clone
  public Object clone()
Event class implements cloneable.
Overrides:
clone in class Object
 o presence
  public byte presence(Machine machine)
The presence method.

All Packages  Class Hierarchy  This Package  Previous  Next  Index