ProcUnit::CheckInnerUnit
Gets information on whether the inner processing unit is registered or not
int CheckInnerUnit(
int innerUnitNo
);
Parameters
innerUnitNo
|
Processing unit number to verify whether inner processing unit is registered or not
|
Return Value
Returns TRUE, when the inner processing unit is registered.
Returns FALSE, when the inner processing unit is not registered.
Description
Checks whether or not a inner processing unit is registered with the specified unit number, and returns the result.
If you specify an invalid (non-existent) inner processing unit number, FALSE is returned.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
// Check whether a unit is registered with processing unit No. 0 and, if registered, delete it
if (ptrProcUnit->CheckInnerUnit(0)) {
ptrProcUnit->DeleteInnerUnit(0);
}
}