Class TrafficLightGetControlledJunctions
- java.lang.Object
-
- org.eclipse.mosaic.fed.sumo.bridge.libsumo.TrafficLightGetControlledJunctions
-
- All Implemented Interfaces:
TrafficLightGetControlledJunctions
public class TrafficLightGetControlledJunctions extends Object implements TrafficLightGetControlledJunctions
-
-
Constructor Summary
Constructors Constructor Description TrafficLightGetControlledJunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
execute(Bridge bridge, String tlId)
This method executes the command with the given arguments in order to get the controlled junctions in the traffic light simulations.
-
-
-
Method Detail
-
execute
public List<String> execute(Bridge bridge, String tlId) throws CommandException
Description copied from interface:TrafficLightGetControlledJunctions
This method executes the command with the given arguments in order to get the controlled junctions in the traffic light simulations.- Specified by:
execute
in interfaceTrafficLightGetControlledJunctions
- Parameters:
bridge
- Connection to Traci.tlId
- Id of the traffic light.- Returns:
- List of the junction Ids
- Throws:
CommandException
- if the status code of the response is ERROR. The connection to SUMO is still available.
-
-