public class ForkContext extends Context
Constructor and Description |
---|
ForkContext(Context parentContext,
SimuComSimProcess parent)
Constructor of the parallel process
|
Modifier and Type | Method and Description |
---|---|
AbstractSimulatedResourceContainer |
findResource(String assemblyContextID)
Lookup method to find the resource container in which the given components assembly context
is deployed
|
Context |
getParentContext() |
findLinkingResource, getModel, getPassiveRessourceInContext, getSessionId, getThread, 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(String assemblyContextID)
Context
findResource
in class Context
assemblyContextID
- The ID of the assembly context for which its deployment is queriedpublic Context getParentContext()