Class AbstractSimuLizarRuntimeState

  • Direct Known Subclasses:
    SimuLizarRuntimeState

    public abstract class AbstractSimuLizarRuntimeState
    extends Object
    This class provides access to all simulation and SimuLizar related objects. This includes access to the original SimuComModel (containing the simulated resources, simulated processes, etc.), to SimuLizars central simulator event distribution object, and to simulated component instances (e.g. to access their current state of passive resources, etc.). Per simulation run, there should be exactly one instance of this class and all of its managed information objects.
    • Method Detail

      • getModel

        public de.uka.ipd.sdq.simucomframework.model.SimuComModel getModel()
        Returns:
        the model
      • getComponentInstanceRegistry

        public final ComponentInstanceRegistry getComponentInstanceRegistry()
        Returns:
        the componentInstanceRegistry
      • isCanceled

        public boolean isCanceled()
      • getReconfigurator

        public Reconfigurator getReconfigurator()
        Returns the reconfigurator responsible for executing reconfigurations and notifying listeners of changes.
        Returns:
        The reconfigurator.
      • runSimulation

        public void runSimulation()
      • cleanUp

        public void cleanUp()
      • initializeInterpreterListeners

        protected abstract void initializeInterpreterListeners​(Reconfigurator reconfigurator)