public class MovingDoneEvent extends ExternalEvent
Constructor and Description |
---|
MovingDoneEvent(Model owner,
java.lang.String name,
boolean showInTrace,
MovableSpatialObject targetObject)
Constructs a MovingDoneEvent and checks whether the caller is a
instance of the MovableSpatialObject.
|
Modifier and Type | Method and Description |
---|---|
void |
eventRoutine()
Implement this method to express the semantics of this external event.
|
schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreempt
getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriority
assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, rename, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportable
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public MovingDoneEvent(Model owner, java.lang.String name, boolean showInTrace, MovableSpatialObject targetObject)
owner
- The model this event is associated toname
- The name of this eventshowInTrace
- Flag for showing event in trace-files. Set it to true if event should show up in trace. Set it to false if event should not be shown in trace.targetObject
- A reference to the object which should be the target of this eventpublic void eventRoutine() throws SuspendExecution
ExternalEvent
eventRoutine(Entity who)
of class Event
).
Override this method to implement this Externalevent's behaviour.eventRoutine
in class ExternalEvent
SuspendExecution