Interface PoiSetImage
-
- All Known Implementing Classes:
PoiSetImage
,PoiSetImage
public interface PoiSetImage
This class sets the image path of a PoI object in the SUMO-GUI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(Bridge bridge, String poiId, String imagePath)
Executes the command in order to set the image path of a previously added PoI object.
-
-
-
Method Detail
-
execute
void execute(Bridge bridge, String poiId, String imagePath) throws CommandException, InternalFederateException
Executes the command in order to set the image path of a previously added PoI object.- Parameters:
bridge
- Connection to SUMO.poiId
- the unique ID of the PoI to removeimagePath
- the path to the image file (must be accessible relatively to the execution directory of SUMO)- 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.
-
-