Class AbstractSimEventDelegator<E extends IEntity>
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<E>
- Type Parameters:
M
- the type of the simulation modelE
- the type of the entity which is modified by this event
- All Implemented Interfaces:
ISimEvent<E>
,ISimRunnable<E>
public abstract class AbstractSimEventDelegator<E extends IEntity>
extends SimulationElement
implements ISimEvent<E>, ISimRunnable<E>
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractSimEventDelegator
(ISimulationModel model, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Removes this event from the list of future events.void
Schedules this event to occur indelay
simulated time units.double
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
getModel, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable
eventRoutine
-
Constructor Details
-
AbstractSimEventDelegator
-
-
Method Details
-
schedule
Schedules this event to occur indelay
simulated time units. -
removeEvent
public void removeEvent()Removes this event from the list of future events.- Specified by:
removeEvent
in interfaceISimEvent<E extends IEntity>
-
scheduledAtTime
public double scheduledAtTime()- Specified by:
scheduledAtTime
in interfaceISimEvent<E extends IEntity>
-