Class ForkContext
java.lang.Object
de.uka.ipd.sdq.simucomframework.variables.StackContext
de.uka.ipd.sdq.simucomframework.Context
de.uka.ipd.sdq.simucomframework.SimuComContext
de.uka.ipd.sdq.simucomframework.fork.ForkContext
- All Implemented Interfaces:
Serializable
Context for forked behaviours
- See Also:
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.variables.StackContext
stack
-
Constructor Summary
ConstructorDescriptionForkContext
(Context parentContext, SimuComSimProcess parent) Constructor of the parallel process -
Method Summary
Modifier and TypeMethodDescriptionThe lookup allows to find the suitable simulation entity of the ResourceContainer to which an AssemblyContext is deployed to.protected void
Template method to be filled in by the generator.Methods inherited from class de.uka.ipd.sdq.simucomframework.SimuComContext
getPassiveRessourceInContext, linkAssemblyContextAndResourceContainer
Methods inherited from class de.uka.ipd.sdq.simucomframework.Context
findLinkingResource, findResource, getModel, getResourceTableManager, getSessionId, getSimulatedResourceContainerAccess, getThread, setSimProcess
Methods inherited from class de.uka.ipd.sdq.simucomframework.variables.StackContext
evaluate, evaluate, evaluate, evaluateInner, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, getEvaluationMode, getStack, setEvaluationMode
-
Constructor Details
-
ForkContext
Constructor of the parallel process- Parameters:
parentContext
- The current context of the parent thread. Used to evaluate variables in the parallel processparent
- The parent process
-
-
Method Details
-
getParentContext
-
getAssemblyAllocationLookup
Description copied from class:Context
The lookup allows to find the suitable simulation entity of the ResourceContainer to which an AssemblyContext is deployed to. Subclasses need to provide the concrete implementation of the lookup mechanism.- Overrides:
getAssemblyAllocationLookup
in classSimuComContext
- Returns:
- the AssemblyContext allocation lookup
-
initialiseAssemblyContextLookup
protected void initialiseAssemblyContextLookup()Description copied from class:SimuComContext
Template method to be filled in by the generator. Calles linkAssemblyContextAndResourceContainer to create the deployment specified in the allocation model- Specified by:
initialiseAssemblyContextLookup
in classSimuComContext
-