Methods - quercus SmartLoop TS Programming Manual

Table of Contents

Advertisement

QuercusVL Programming Manual
TrafficLights
C++:
C:
In C++, the unit's TrafficLights collection is returned.
In C, there is no representation of "TrafficLights" collection, but methods to directly
access to collection properties:
int VL_Unit_get_TrafficLights_Count (int h): returns the number of traffic lights
in the unit "h"
int VL_Unit_get_TrafficLights_Item(int h, int item): returns the TrafficLight
located at the indicated position in the TrafficLights collection of unit "h"
(starting from zero).
If there is no TrafficLights at the specified position returns null.
The parameter "h" is a handler of unit (Unit).
When the traffic light is no longer needed, VL_TrafficLight_Release must be
called to free allocated memory (see Release method at TrafficLight class).
int VL_Unit_get_TrafficLights_Id(int h, int id): returns the TrafficLight identified
by "id" inside the TrafficLights collection in the unit "h".
The parameter "h" is a handler of unit (Unit).
If there is no TrafficLights with such id, returns null.
When the traffic light is no longer needed, VL_TrafficLight_Release must be
called to free allocated memory (see Release method at TrafficLight class).
HistoricIncidences
C++:
C:
Returns the incidences record of the unit.
In C, the parameter "h" is a handler of unit (Unit).
HistoricSummaries
C++:
C:
Returns the summary record of the unit.
In C, the parameter "h" is a handler of unit (Unit).
Quercus Technologies
TrafficLights get_TrafficLights()
Does not exist
HistoricIncidences get_HistoricIncidences()
int VL_Unit_get_HistoricIncidences(int h)
HistoricSummaries get_HistoricSummaries()
int VL_Unit_get_HistoricSummaries(int h)
33

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?

This manual is also suitable for:

Birdwatch red lightSmartloop ts plus

Table of Contents