aclmdlRICondTaskParams
1 2 3 4 5 6 | typedef struct tagAclmdlRICondTaskParams { aclmdlRICondHandle handle; aclmdlRICondTaskType type; uint32_t size; aclmdlRI *modelRIArray; } aclmdlRICondTaskParams; |
Member |
Description |
|---|---|
handle |
Condition handle. For details about the type definition, see aclmdlRICondHandle. |
type |
Condition type. For details about the type definition, see aclmdlRICondTaskType. IF condition. If the condition variable value is not 0, the modelRIArray[0] model is executed. If the value is 0, the modelRIArray[1] model is executed. WHILE condition. If the condition variable value is not 0, the modelRIArray[0] model is executed. If the value is 0, no operation is performed. SWITCH condition. If the condition variable value is n, the modelRIArray[n] model is executed. If n is greater than or equal to size, no operation is performed. |
size |
Number of branches. For the IF condition, the value of this parameter is 1 or 2. For the WHILE condition, the value is 1. For the SWITCH condition, the value is greater than 0. |
modelRIArray |
Array of model running instances. For details about the type definition, see aclmdlRI. When used as an input: The user must allocate an aclmdlRI array with the specified size. When used as an output: The array stores the number of model running instances specified by size. |