Class LaneGetShape
java.lang.Object
org.eclipse.mosaic.fed.sumo.bridge.libsumo.LaneGetShape
- All Implemented Interfaces:
LaneGetShape
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LaneGetShape
public LaneGetShape()
-
-
Method Details
-
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.
-