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:
ISimEvent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSimEventDelegator(ISimulationModel model, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeEvent()
Removes this event from the list of future events.void
schedule(E entity, double delay)
Schedules this event to occur indelay
simulated time units.double
scheduledAtTime()
-
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 Detail
-
AbstractSimEventDelegator
protected AbstractSimEventDelegator(ISimulationModel model, String name)
-
-
Method Detail
-
schedule
public void schedule(E entity, double delay)
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>
-
-