Class VehicleSetStop
- java.lang.Object
-
- org.eclipse.mosaic.fed.sumo.bridge.libsumo.VehicleSetStop
-
- All Implemented Interfaces:
VehicleSetStop
public class VehicleSetStop extends Object implements VehicleSetStop
-
-
Constructor Summary
Constructors Constructor Description VehicleSetStop()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Bridge bridge, String vehicleId, String edgeId, double position, int laneIndex, long duration, int stopFlag)
This method executes the command with the given arguments in order to set the stop mode for the vehicle.
-
-
-
Method Detail
-
execute
public void execute(Bridge bridge, String vehicleId, String edgeId, double position, int laneIndex, long duration, int stopFlag)
This method executes the command with the given arguments in order to set the stop mode for the vehicle.- Specified by:
execute
in interfaceVehicleSetStop
- Parameters:
bridge
- Connection to SUMO.vehicleId
- The Id of the vehicle to change the route.edgeId
- The Id of the edge on which to stop.position
- The position of the stop.laneIndex
- The index of the lane on which to stop.duration
- The duration for stop in [ns].stopFlag
- The flag indicating the type of the stop.
-
-