
QuercusVL Programming Manual
C++:
UnitStatus get_Status ( )
C:
int VL_Unit_get_Status (int h)
Returns unit status.
In C, the parameter “h” is a handler of the unit (Unit).
●
Configuration
C++:
Configuraton get_Configuration ( )
C:
int VL_Unit_get_Configuration (int h)
Returns the configuration system of the unit.
In C++, if there is no reachable configuration system in the unit, returns an invalid one
(see IsValid from Configuration class)
In C, if there is no reachable configuration system in the unit, returns null.
In C, the parameter “h” is a handler of the unit (Unit).
●
Detectors
C++:
Detectors get_Detectors()
C:
does not exist
In C++, returns the unit's collection of detectors.
In C, there is no representation of “Detectors” collection, but methods to directly
access to collection properties:
●
int VL_Unit_get_Detectors_Count(int h): returns the number of detectors in unit
“h”.
●
int VL_Unit_get_Detectors_Item(int h, int item): returns the detector located at
the indicated position in the detector's collection of unit “h” (starting from zero).
The parameter “h” is a handler of unit (Unit).
If there is no detector at the specified position returns null.
When the detector is no longer needed, the function VL_Detector_Release must
be called to free allocated memory (see Release method from Detector class).
●
int VL_Unit_get_Detectors_Id(int h, int id): returns the detector with identifier
“id”, inside the detectors collection of “h” unit.
The parameter “h” is a handler of unit (Unit).
If there is no detector for such identifier, returns null.
When the detector is no longer needed, the function VL_Detector_Release must
be called to free allocated memory (see Release method from Detector class).
Quercus Technologies
32