Class SimuLizarRuntimeState
- java.lang.Object
-
- org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState
-
- org.palladiosimulator.simulizar.runtimestate.SimuLizarRuntimeState
-
public class SimuLizarRuntimeState extends AbstractSimuLizarRuntimeState
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.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState
cancelationDelegate, eventHelper, model, usageEvolverFacade
-
-
Constructor Summary
Constructors Constructor Description SimuLizarRuntimeState(SimuLizarWorkflowConfiguration configuration, ModelAccess modelAccess, SimulationCancelationDelegate cancelationDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsageEvolverFacade
getUsageEvolverFacade()
protected void
initializeInterpreterListeners(Reconfigurator reconfigurator)
-
Methods inherited from class org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState
cleanUp, getComponentInstanceRegistry, getEventNotificationHelper, getMainContext, getModel, getModelAccess, getReconfigurator, getUsageModels, isCanceled, runSimulation
-
-
-
-
Constructor Detail
-
SimuLizarRuntimeState
public SimuLizarRuntimeState(SimuLizarWorkflowConfiguration configuration, ModelAccess modelAccess, SimulationCancelationDelegate cancelationDelegate)
- Parameters:
configuration
-modelAccess
-
-
-
Method Detail
-
initializeInterpreterListeners
protected void initializeInterpreterListeners(Reconfigurator reconfigurator)
- Specified by:
initializeInterpreterListeners
in classAbstractSimuLizarRuntimeState
-
getUsageEvolverFacade
public UsageEvolverFacade getUsageEvolverFacade()
- Overrides:
getUsageEvolverFacade
in classAbstractSimuLizarRuntimeState
-
-