hades.simulator
Class SimulatorInterruptEvent
java.lang.Object
hades.simulator.SimEvent
hades.simulator.SimulatorInterruptEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class SimulatorInterruptEvent
- extends SimEvent
- implements java.io.Serializable
SimulatorInterruptEvent - stop a HADES simulation at given time
- See Also:
- Serialized Form
Method Summary |
void |
evaluate()
evaluate(): for an SimulatorInterruptEvent, we just call the
SimKernel's evaluate() method |
void |
recycle()
|
java.lang.String |
toShortString()
construct a one-line description for this Event, starting with
nicely formatted event time. |
java.lang.String |
toString()
toString() - the usual info method |
Methods inherited from class hades.simulator.SimEvent |
createNewSimEvent, createNewSimEvent, getArg, getDebug, getNumberOfAvailableRecycledSimEvents, getNumberOfRecycledSimEvents, getNumberOfSimEvents, getSource, getTargetPort, getTime, setDebug, setTargetPort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
target
protected SimKernel target
SimulatorInterruptEvent
public SimulatorInterruptEvent(SimKernel target,
double time,
java.lang.Object source)
recycle
public void recycle()
- Overrides:
recycle
in class SimEvent
evaluate
public void evaluate()
- evaluate(): for an SimulatorInterruptEvent, we just call the
SimKernel's evaluate() method
- Overrides:
evaluate
in class SimEvent
toShortString
public java.lang.String toShortString()
- construct a one-line description for this Event, starting with
nicely formatted event time.
- Overrides:
toShortString
in class SimEvent
toString
public java.lang.String toString()
- toString() - the usual info method
- Overrides:
toString
in class SimEvent