the entity involved in this event
the controller/scheduler that this event is a part of
the time delay before this event's occurrence
the stat object for collecting statistics about delay times
the prototype (serves as node in animation) for this event
Execute this event where the event-logic is specified in the 'occur' method.
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (i) may schedule other events and (ii) may specify state changes.
The activation/occurrence time for the event
Cancel 'this' event.
Compare the activation times of the two events (ev and this).
Compare the activation times of the two events (ev and this).
the other event
the entity involved in this event
Determine whether Identifiable object 'this' equals Identifiable object 'that'.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Get the id (unique identifier).
Get the id (unique identifier).
Return whether this event is live (i.e., not cancelled).
Return the full identity.
Return the full identity.
Get the name.
Get the name.
the prototype (serves as node in animation) for this event
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Convert the event to a string.
Convert the event to a string.
The
Event
class provides facilities for defining simulation events. Subclasses of Event provide event-logic in their implementation of the 'occur' method. Note: unique identification is mixed in via theIdentifiable
trait.