ProcUnit::GetUnitInfo
Gets information of a processing unit
int GetUnitInfo() {
int kind
}
Parameters
The configurable kind data types are shown below.
Table:GetUnitInfo - Parameters
Value
|
Description
|
0
|
Kind of the processing item
|
1
|
Size of the setting data structure
|
2
|
Size of the measure data structure
|
3
|
Size of the control data structure
|
4
|
The maximum figures data
|
5
|
The maximum models data
|
6
|
The maximum images data
|
7
|
The maximum inner processing unit
|
8
|
Camera setting is enable or not
|
Return Value
Returns 0 when the processing unit information is successfully obtained.
Otherwise returns a non-zero value.
Description
Gets information of the relevant processing unit.
Example
int Sample::GetUnitData(ProcUnit *ptrProcUnit, int dataNo, ANYTYPE *data)
{
// Get the kind of the processing item information
ptrProcUnit->GetUnitInfo(0);
}