QuercusVL Programming Manual
Example in C
if(Detector_get_Type(hDetector) == DT_STOPPED_CAR)
{
ProcessStoppedCarDetector(hDetector);
}
3.15.1. Properties
●
MaxStopTime
C++:
int get_MaxStopTime()
C:
int VL_StoppedCarDetector_get_MaxStopTime(int h)
Returns the minimum time the vehicle must be stopped, once the traffic light turns red,
to generate a violation; in miliseconds.
In C, the parameter “h” is a handler of detector (StoppedCarDetector).
●
TrafficLightId
C++:
int get_TrafficLightId()
C:
int VL_StoppedCarDetector_get_TrafficLightId(int h)
Returns the traffic light identifier used as stop signal. If no traffic light is configured, but
a digital input (check RedInput from StoppedCarDetector) it will return -1.
In C, the parameter “h” is a handler of detector (StoppedCarDetector).
●
RedInput
C++:
int get_RedInput()
C:
int VL_StoppedCarDetector_get_RedInput(int h)
Returns the digital input identifier used as stop signal. If no digital input is configured,
but a traffic light (see TrafficLightId from StoppedCarDetector), it will return -1.
In C, the parameter “h” is a handler of detector (StoppedCarDetector).
●
IsVideoEnabled
C++:
bool get_IsVideoEnabled()
C:
int VL_StoppedCarDetector_get_IsVideoEnabled(int h)
Returns true if the detector has video generation at the incidences enabled, false
otherwise.
In C, the parameter “h” is a handler of detector (StoppedCarDetector).
Quercus Technologies
49