QuercusVL Programming Manual
loops in the detector.
●
int VL_Detector_get_LoopsCoordinates_Item(int h, int item): returns the
coordinates of the indicated position inside the detector loops coordinates
collection (starting form zero). The returned parameter is a handler of the
coordinates (Region)
If there is no Region for the indicated position, returns null.
The parameter “h” is a handler of detector (Detector).
3.10.2. Methods
●
IsValid
C++:
bool IsValid()
C:
Does not exist
Returns true if the object contains valid information about a detector, and false if
invalid. Some methods, may sometimes, return void Detectors. In C, this behaviour is
detected as its value will be “0”. In C++, however, this method is necessary because
the object, as it is not a pointer, would always be valid.
●
AddRef
C++:
Does not exist
C:
void VL_Detector_AddRef ( int h )
See 2.2.1. Memory management.
●
Release
C++:
Does not exist
C:
void VL_Detector_Release ( int h )
See 2.2.1. Memory management.
3.11. PresenceDetector Class
Logic representation of a detector of
Presence
type.
This class derives from Detector class, so all its methods and properties are inherited.
It has implemented the assignment operator to use a generic detector as a
presence
detector.
Example in C++
Quercus Technologies
43