public class ForkContext extends Context
stack
Constructor and Description |
---|
ForkContext(Context parentContext,
SimuComSimProcess parent)
Constructor of the parallel process
|
Modifier and Type | Method and Description |
---|---|
AbstractSimulatedResourceContainer |
findResource(java.lang.String assemblyContextID)
Lookup method to find the resource container in which the given components assembly context
is deployed
|
Context |
getParentContext() |
protected void |
initialiseAssemblyContextLookup()
Template method to be filled in by the generator.
|
findLinkingResource, getModel, getPassiveRessourceInContext, getSessionId, getThread, linkAssemblyContextAndResourceContainer, setSimProcess
evaluate, evaluate, evaluate, evaluateInner, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, evaluateStatic, getEvaluationMode, getStack, setEvaluationMode
public ForkContext(Context parentContext, SimuComSimProcess parent)
parentContext
- The current context of the parent thread. Used to evaluate variables in the
parallel processparent
- The parent processpublic AbstractSimulatedResourceContainer findResource(java.lang.String assemblyContextID)
Context
findResource
in class Context
assemblyContextID
- The ID of the assembly context for which its deployment is queriedpublic Context getParentContext()
protected void initialiseAssemblyContextLookup()
Context
initialiseAssemblyContextLookup
in class Context