Class FinishEvent

java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.EventAbstract
desmoj.core.simulator.ExternalEvent
de.rss.fachstudie.MiSim.events.FinishEvent

public class FinishEvent
extends desmoj.core.simulator.ExternalEvent
A FinishEvent is an ExternalEvent that is called upon the end of the simulation.

Its used for cleanup and finalizing statistics.

  • Field Summary

    Fields inherited from class desmoj.core.simulator.EventAbstract

    numberOfEntities

    Fields inherited from class desmoj.core.simulator.Schedulable

    _schedule
  • Constructor Summary

    Constructors
    Constructor Description
    FinishEvent​(desmoj.core.simulator.Model owner, String name, boolean showInTraceMode)  
  • Method Summary

    Modifier and Type Method Description
    void eventRoutine()  

    Methods inherited from class desmoj.core.simulator.ExternalEvent

    clone, schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreempt

    Methods inherited from class desmoj.core.simulator.EventAbstract

    generateTraceForScheduling, getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriority

    Methods inherited from class desmoj.core.simulator.Schedulable

    assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, rename, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportable

    Methods inherited from class desmoj.core.simulator.ModelComponent

    current, currentEntity, currentEntityAll, currentEvent, currentlySendDebugNotes, currentlySendTraceNotes, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn

    Methods inherited from class desmoj.core.simulator.NamedObject

    getName, getQuotedName, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FinishEvent

      public FinishEvent​(desmoj.core.simulator.Model owner, String name, boolean showInTraceMode)
  • Method Details

    • eventRoutine

      public void eventRoutine() throws co.paralleluniverse.fibers.SuspendExecution
      Specified by:
      eventRoutine in class desmoj.core.simulator.ExternalEvent
      Throws:
      co.paralleluniverse.fibers.SuspendExecution