quercus SmartLoop TS Programming Manual page 90

Table of Contents

Advertisement

QuercusVL Programming Manual
Returns true if action was successful, false otherwise.
In C the parameter "h" is a handler of Configuration and hDetector a handler of
ConfigurationDetector.
NewTrafficLight
C++: ConfigurationTrafficLight NewTrafficLight()
C:
int VL_Configuration_New_TrafficLight( int h )
Creates an empty traffic light. (default values).
To add a new traffic light to the unit, this function must be used, to later on modify the
traffic light and add it to the system with the function ApplyTrafficLight of Configuration
class.
In C the parameter "h" is a handler of Configuration.
GetTrafficLightsCount
C++: int GetTrafficLightsCount()
C:
int VL_Configuration_Get_TrafficLightsCount ( int h )
Returns the number of configured traffic lights.
In C the parameter "h" is a handler of Configuration.
GetTrafficLight
C++: ConfigurationTrafficLight GetTrafficLight( int index, int id )
C:
int VL_Configuration_Get_TrafficLight( int h, int index, int id )
Returns a traffic light from the unit's traffic light list, which is specified by one of the
following two parameters:
Index: position of the traffic light the list of traffic lights of the unit.
Id: traffic light's identifier.
Only one of them can be used; in the parameter not used, -1 must be indicated.
In C++, if there is no ConfigurationTrafficLight with the specified index/position, returns
an invalid one; in C returns null.
In
C,
VL_ConfigurationTrafficLight_Release
ConfigurationTrafficLight class)
In C the parameter "h" is a handler of Configuration.
Quercus Technologies
when
the
object
is
needed
no
must be called (see Release method from
more,
the
function
90

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartLoop TS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Birdwatch red lightSmartloop ts plus

Table of Contents