Class RouteGetIds
java.lang.Object
org.eclipse.mosaic.fed.sumo.bridge.traci.AbstractTraciCommand<List<String>>
org.eclipse.mosaic.fed.sumo.bridge.traci.RouteGetIds
- All Implemented Interfaces:
RouteGetIds
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.AbstractTraciCommand
AbstractTraciCommand.TraciCommandResultReaderBuilder, AbstractTraciCommand.TraciCommandWriterBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aRouteGetIds
traci command, which will return a list of ids of all loaded routes. -
Method Summary
Methods inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.AbstractTraciCommand
execute, executeAndReturn, executeAndReturnList, read, write
-
Constructor Details
-
RouteGetIds
public RouteGetIds()Constructs aRouteGetIds
traci command, which will return a list of ids of all loaded routes. Access needs to be public, because command is called using Reflection.- See Also:
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceRouteGetIds
- Throws:
CommandException
InternalFederateException
-
constructResult
Description copied from class:AbstractTraciCommand
This method is called during reading the command response when all readers have been executed. The results of the readers are passed to this method.- Specified by:
constructResult
in classAbstractTraciCommand<List<String>>
- Parameters:
status
- the status of the responseobjects
- the objects created by the configured readers- Returns:
- the final result constructed from the passed objects
-