QuercusVL Programming Manual
Lights
●
C++:
C:
In C++ returns the collection of lights that make up the traffic light.
In C there is no representation of "Lights" collection, but methods to directly access to
collection properties:
int VL_TrafficLight_get_Lights_Count(int h): number of lights in the traffic light.
●
int VL_TrafficLight_get_Lights_Item(int h, int item): returns the light in the
●
specified position, inside the lights collection of the traffic light (starting from
zero).
If there is no Light for the specified ligt, returns null.
The parameter "h" is a handler of the traffic light (TrafficLight).
3.17.2. Methods
IsValid
●
C++:
C:
Returns true if the object contains valid information about a traffic light, and false if
invalid. Some methods, may sometimes, return void traffic lights. 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++:
C:
See 2.2.1. Memory management.
Release
●
C++:
C:
See 2.2.1. Memory management.
Quercus Technologies
Lights get_Lights()
Does not exist
bool IsValid()
Does not exist
Does not exist
void VL_TrafficLight_AddRef ( int h )
Does not exist
void VL_TrafficLight_Release ( int h )
52
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?