Interface SimulationRunner

All Known Implementing Classes:
DispatcherThread

public interface SimulationRunner
Interface for objects that can run a JSIM simulation. Implemented by DispatcherThread in jmt-jsimg-gui. Allows JMCH's AnimationPanel (in jmt-jmch-gui) to drive a simulation run without a compile-time dep on DispatcherThread.
  • Method Details

    • setDaemon

      void setDaemon(boolean on)
    • startSimulation

      void startSimulation(File modelFile) throws IOException
      Throws:
      IOException
    • isAlive

      boolean isAlive()
    • interrupt

      void interrupt()
    • stopSimulation

      void stopSimulation()