ProcUnit::SetNextUnitNo
Sets processing unit number that is processed next
int SetNextUnitNo(
int nextUnitNo
);
Parameters
nextUnitNo
|
Next processing unit number
|
Return Value
Returns 0 when the next processing unit number is successfully set.
Otherwise returns a non-zero value.
Description
Sets the processing unit number which is processed next to the relevant processing unit.
If you specify -1 for the next processing unit number, the process will finish after the relevant processing unit.
In the initial state where the next processing unit number is not specified in this method, the processing unit of the relevant processing unit number plus 1 will be processed next.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
// Set the tenth processing unit as the next processing unit
ptrProcUnit->SetNextUnitNo(10);
}