Class InterpreterDefaultContext
- java.lang.Object
-
- de.uka.ipd.sdq.simucomframework.variables.StackContext
-
- de.uka.ipd.sdq.simucomframework.Context
-
- org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext
-
- All Implemented Interfaces:
Serializable
public class InterpreterDefaultContext extends de.uka.ipd.sdq.simucomframework.ContextDefault context for the pcm interpreter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInterpreterDefaultContext.MainContextThis annotation is used as aQualifierto identify anInterpreterDefaultContextas the root context of a simulation.static interfaceInterpreterDefaultContext.ParentContextThis annotation is used as aQualifierto identify anInterpreterDefaultContextas the parent of a context of a simulation.
-
Constructor Summary
Constructors Constructor Description InterpreterDefaultContext(de.uka.ipd.sdq.simucomframework.model.SimuComModel simuComModel, PCMPartitionManager partitionManager, de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>> assemblyAllocationLookup, de.uka.ipd.sdq.simucomframework.resources.ISimulatedModelEntityAccess<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer,de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer> simRCAccess, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)InterpreterDefaultContext(InterpreterDefaultContext context, de.uka.ipd.sdq.simucomframework.SimuComSimProcess thread)Create interpreter default context from the given default context (model, sim process and stack are set according to the given default context).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FQComponentIDcomputeFQComponentID()de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer>getAssemblyAllocationLookup()Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext>getAssemblyContextStack()org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartitiongetLocalPCMModelAtContextCreation()PCMPartitionManagergetPCMPartitionManager()-
Methods inherited from class de.uka.ipd.sdq.simucomframework.Context
findLinkingResource, findResource, getModel, getResourceTableManager, getSessionId, getSimulatedResourceContainerAccess, getThread, setSimProcess
-
-
-
-
Constructor Detail
-
InterpreterDefaultContext
public InterpreterDefaultContext(de.uka.ipd.sdq.simucomframework.model.SimuComModel simuComModel, PCMPartitionManager partitionManager, de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>> assemblyAllocationLookup, de.uka.ipd.sdq.simucomframework.resources.ISimulatedModelEntityAccess<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer,de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer> simRCAccess, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
-
InterpreterDefaultContext
public InterpreterDefaultContext(InterpreterDefaultContext context, de.uka.ipd.sdq.simucomframework.SimuComSimProcess thread)
Create interpreter default context from the given default context (model, sim process and stack are set according to the given default context). The contents of the stack will be copied.- Parameters:
context- the default context from which the new default context should be created.thread-
-
-
Method Detail
-
getAssemblyContextStack
public Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> getAssemblyContextStack()
-
getPCMPartitionManager
public PCMPartitionManager getPCMPartitionManager()
-
getLocalPCMModelAtContextCreation
public org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition getLocalPCMModelAtContextCreation()
-
getAssemblyAllocationLookup
public de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer> getAssemblyAllocationLookup()
- Specified by:
getAssemblyAllocationLookupin classde.uka.ipd.sdq.simucomframework.Context
-
computeFQComponentID
public FQComponentID computeFQComponentID()
-
-