Sage Modeling and Simulation Library

StepStateMachine..::..CreateChildContexts Method

Creates pfc execution contexts, one per action under the step that is currently running. Each is given an instance count of zero, as a step can run its action only once, currently.

Namespace:  Highpoint.Sage.Graphs.PFC.Execution
Assembly:  Sage4 (in Sage4.dll)

Syntax


protected virtual void CreateChildContexts(
	PfcExecutionContext parentContext,
	out IProcedureFunctionChart[] kids,
	out PfcExecutionContext[] kidContexts
)

Parameters

parentContext
Type: Highpoint.Sage.Graphs.PFC.Execution..::..PfcExecutionContext
The parent context, that of the step that is currently running.
kids
Type: array<IProcedureFunctionChart>[]()[][]%
The procedure function charts that live in the actions under the step that is currently running.
kidContexts
Type: array<PfcExecutionContext>[]()[][]%
The pfc execution contexts that will correspond to the running of each of the child PFCs.