QuercusVL Programming Manual
DeleteTrafficLight
●
C++: bool DeleteTrafficLight( int index, int id )
C:
int VL_Configuration_Delete_TrafficLight( int h, int index, int id )
Deletes 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.
Returns true if deletion was successful, false otherwise.
In C the parameter "h" is a handler of Configuration.
ApplyTrafficLight
●
C++: bool
VLConfigurationActionType action, int previousId )
C:
int
previousID )
Joins a new traffic light into the unit's traffic light list, or modifies an existing one. The
action
done
VLConfigurationActionType Type type).
If an existing traffic light is going to be modified, the old identifier must be specified (as
it may have been modified) with the parameter "previousId". If it is a new traffic light
which is going to be joined, then use value -1.
Returns true if action was successful, false otherwise.
In C the parameter "h" is a handler of Configuration and hTrafficLight a handler of
ConfigurationTrafficLight.
NewOutputActuator
●
C++: ConfigurationOutputActuator NewOutputActuator()
C:
int VL_Configuration_New_OutputActuator( int h )
Creates an empty output actuator. (default values).
To add a new output actuator to the unit, this function must be used, to later on modify
the output actuator and add it to the system with the function ApplyOutputActuator of
Configuration class.
In C the parameter "h" is a handler of Configuration.
Quercus Technologies
ApplyTrafficLight(
VL_Configuration_Apply_TrafficLight( int h, int hTrafficLight, int action, int
will
depend
ConfigurationTrafficLight
on
the
parameter
trafficLight,
"action"
(see
3.61.
91
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?