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 protectedAbstractSimEventDelegator(ISimulationModel model, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremoveEvent()Removes this event from the list of future events.voidschedule(E entity, double delay)Schedules this event to occur indelaysimulated time units.doublescheduledAtTime()-
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 indelaysimulated time units.
-
removeEvent
public void removeEvent()
Removes this event from the list of future events.- Specified by:
removeEventin interfaceISimEvent<E extends IEntity>
-
scheduledAtTime
public double scheduledAtTime()
- Specified by:
scheduledAtTimein interfaceISimEvent<E extends IEntity>
-
-