Class LaneGetShape
- java.lang.Object
-
- org.eclipse.mosaic.fed.sumo.bridge.libsumo.LaneGetShape
-
- All Implemented Interfaces:
LaneGetShape
public class LaneGetShape extends Object implements LaneGetShape
-
-
Constructor Summary
Constructors Constructor Description LaneGetShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Position>
execute(Bridge bridge, String laneId)
This method executes the command to retrieve the shape of a lane.
-
-
-
Method Detail
-
execute
public List<Position> execute(Bridge bridge, String laneId) throws CommandException, InternalFederateException
Description copied from interface:LaneGetShape
This method executes the command to retrieve the shape of a lane.- Specified by:
execute
in interfaceLaneGetShape
- Parameters:
bridge
- Connection to SUMO.laneId
- Id of the lane.- Throws:
CommandException
- if the status code of the response is ERROR. The connection to SUMO is still available.InternalFederateException
- if some serious error occurs during writing or reading. The connection to SUMO is shut down.
-
-