Package de.tudresden.ws
Class ServiceImpl
- java.lang.Object
-
- de.tudresden.ws.Traci
-
- de.tudresden.ws.ServiceImpl
-
-
Constructor Summary
Constructors Constructor Description ServiceImpl(Config conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOption(java.lang.String name, java.lang.String value)
void
doTimestep()
java.lang.String
get_Status(java.lang.String user)
java.lang.String
LastActionTime()
void
setConfig(java.lang.String filename)
void
setSumoBinary(java.lang.String filename)
java.lang.String
start(java.lang.String user)
java.lang.String
stop(java.lang.String user)
java.lang.String
TXT_output(boolean input)
java.lang.String
version()
-
Methods inherited from class de.tudresden.ws.Traci
Edge_adaptTraveltime, Edge_getAdaptedTraveltime, Edge_getCO2Emission, Edge_getCOEmission, Edge_getEffort, Edge_getElectricityConsumption, Edge_getFuelConsumption, Edge_getHCEmission, Edge_getIDCount, Edge_getIDList, Edge_getLastStepHaltingNumber, Edge_getLastStepLength, Edge_getLastStepMeanSpeed, Edge_getLastStepOccupancy, Edge_getLastStepVehicleIDs, Edge_getLastStepVehicleNumber, Edge_getNoiseEmission, Edge_getNOxEmission, Edge_getPMxEmission, Edge_getTraveltime, Edge_getWaitingTime, Edge_setEffort, Edge_setMaxSpeed, GUI_clearPending, GUI_getBoundary, GUI_getIDList, GUI_getOffset, GUI_getSchema, GUI_getZoom, GUI_screenshot, GUI_setBoundary, GUI_setOffset, GUI_setSchema, GUI_setZoom, GUI_trackVehicle, Inductionloop_getIDCount, Inductionloop_getIDList, Inductionloop_getLaneID, Inductionloop_getLastStepMeanLength, Inductionloop_getLastStepMeanSpeed, Inductionloop_getLastStepOccupancy, Inductionloop_getLastStepVehicleIDs, Inductionloop_getLastStepVehicleNumber, Inductionloop_getPosition, Inductionloop_getTimeSinceDetection, Inductionloop_getVehicleData, init, Junction_getIDCount, Junction_getIDList, Junction_getPosition, Junction_getShape, Lane_getAllowed, Lane_getCO2Emission, Lane_getCOEmission, Lane_getDisallowed, Lane_getEdgeID, Lane_getElectricityConsumption, Lane_getFuelConsumption, Lane_getHCEmission, Lane_getIDCount, Lane_getIDList, Lane_getLastStepHaltingNumber, Lane_getLastStepLength, Lane_getLastStepMeanSpeed, Lane_getLastStepOccupancy, Lane_getLastStepVehicleIDs, Lane_getLastStepVehicleNumber, Lane_getLength, Lane_getLinkNumber, Lane_getLinks, Lane_getMaxSpeed, Lane_getNoiseEmission, Lane_getNOxEmission, Lane_getPMxEmission, Lane_getShape, Lane_getTraveltime, Lane_getWaitingTime, Lane_getWidth, Lane_setAllowed, Lane_setDisallowed, Lane_setLength, Lane_setMaxSpeed, Lanearea_getIDCount, Lanearea_getIDList, Lanearea_getJamLengthMeters, Lanearea_getJamLengthVehicle, Lanearea_getLastStepMeanSpeed, Lanearea_getLastStepOccupancy, Multientryexit_getIDCount, Multientryexit_getIDList, Multientryexit_getLastStepHaltingNumber, Multientryexit_getLastStepMeanSpeed, Multientryexit_getLastStepVehicleIDs, Multientryexit_getLastStepVehicleNumber, Person_getAngle, Person_getColor, Person_getIDCount, Person_getIDList, Person_getLanePosition, Person_getLength, Person_getMinGap, Person_getPersonNumber, Person_getPosition, Person_getPosition3D, Person_getRoadID, Person_getSpeed, Person_getTypeID, Person_getWaitingTime, Poi_add, Poi_getColor, Poi_getIDCount, Poi_getIDList, Poi_getPosition, Poi_getType, Poi_remove, Poi_setColor, Poi_setPosition, Poi_setType, Polygon_add, Polygon_getColor, Polygon_getIDCount, Polygon_getIDList, Polygon_getShape, Polygon_getType, Polygon_remove, Polygon_setColor, Polygon_setShape, Polygon_setType, Route_add, Route_getEdges, Route_getIDCount, Route_getIDList, Simulation_convert2D, Simulation_convert3D, Simulation_convertGeo, Simulation_convertRoad, Simulation_getArrivedIDList, Simulation_getArrivedNumber, Simulation_getBusStopWaiting, Simulation_getCurrentTime, Simulation_getDeltaT, Simulation_getDepartedIDList, Simulation_getDepartedNumber, Simulation_getDistance2D, Simulation_getDistanceRoad, Simulation_getEndingTeleportIDList, Simulation_getEndingTeleportNumber, Simulation_getLoadedIDList, Simulation_getLoadedNumber, Simulation_getMinExpectedNumber, Simulation_getNetBoundary, Simulation_getParkingEndingVehiclesIDList, Simulation_getParkingEndingVehiclesNumber, Simulation_getParkingStartingVehiclesIDList, Simulation_getParkingStartingVehiclesNumber, Simulation_getStartingTeleportIDList, Simulation_getStartingTeleportNumber, Simulation_getStopEndingVehiclesIDList, Simulation_getStopEndingVehiclesNumber, Simulation_getStopStartingVehiclesIDList, Simulation_getStopStartingVehiclesNumber, Trafficlights_getCompleteRedYellowGreenDefinition, Trafficlights_getControlledLanes, Trafficlights_getControlledLinks, Trafficlights_getIDCount, Trafficlights_getIDList, Trafficlights_getNextSwitch, Trafficlights_getPhase, Trafficlights_getPhaseDuration, Trafficlights_getProgram, Trafficlights_getRedYellowGreenState, Trafficlights_setCompleteRedYellowGreenDefinition, Trafficlights_setPhase, Trafficlights_setPhaseDuration, Trafficlights_setProgram, Trafficlights_setRedYellowGreenState, Vehicle_add, Vehicle_changeLane, Vehicle_changeTarget, Vehicle_getAccel, Vehicle_getAdaptedTraveltime, Vehicle_getAllowedSpeed, Vehicle_getAngle, Vehicle_getBestLanes, Vehicle_getCO2Emission, Vehicle_getCOEmission, Vehicle_getColor, Vehicle_getDecel, Vehicle_getDistance, Vehicle_getDrivingDistance, Vehicle_getDrivingDistance2D, Vehicle_getEffort, Vehicle_getElectricityConsumption, Vehicle_getEmissionClass, Vehicle_getFuelConsumption, Vehicle_getHCEmission, Vehicle_getIDCount, Vehicle_getIDList, Vehicle_getImperfection, Vehicle_getLaneID, Vehicle_getLaneIndex, Vehicle_getLanePosition, Vehicle_getLeader, Vehicle_getLength, Vehicle_getMaxSpeed, Vehicle_getMinGap, Vehicle_getNoiseEmission, Vehicle_getNOxEmission, Vehicle_getPersonNumber, Vehicle_getPMxEmission, Vehicle_getPosition, Vehicle_getPosition3D, Vehicle_getRoadID, Vehicle_getRoute, Vehicle_getRouteID, Vehicle_getShapeClass, Vehicle_getSignals, Vehicle_getSlope, Vehicle_getSpeed, Vehicle_getSpeedDeviation, Vehicle_getSpeedFactor, Vehicle_getSpeedMode, Vehicle_getSpeedWithoutTraCI, Vehicle_getTau, Vehicle_getTypeID, Vehicle_getVehicleClass, Vehicle_getWaitingTime, Vehicle_getWidth, Vehicle_isRouteValid, Vehicle_moveTo, Vehicle_remove, Vehicle_rerouteEffort, Vehicle_rerouteTraveltime, Vehicle_resume, Vehicle_setAccel, Vehicle_setAdaptedTraveltime, Vehicle_setColor, Vehicle_setDecel, Vehicle_setEffort, Vehicle_setEmissionClass, Vehicle_setImperfection, Vehicle_setLaneChangeMode, Vehicle_setLength, Vehicle_setMaxSpeed, Vehicle_setMinGap, Vehicle_setRoute, Vehicle_setRouteID, Vehicle_setShapeClass, Vehicle_setSignals, Vehicle_setSpeed, Vehicle_setSpeedDeviation, Vehicle_setSpeedFactor, Vehicle_setStop, Vehicle_setTau, Vehicle_setType, Vehicle_setVehicleClass, Vehicle_setWidth, Vehicle_slowDown, Vehicletype_getAccel, Vehicletype_getColor, Vehicletype_getDecel, Vehicletype_getEmissionClass, Vehicletype_getIDCount, Vehicletype_getIDList, Vehicletype_getImperfection, Vehicletype_getLength, Vehicletype_getMaxSpeed, Vehicletype_getMinGap, Vehicletype_getShapeClass, Vehicletype_getSpeedDeviation, Vehicletype_getSpeedFactor, Vehicletype_getTau, Vehicletype_getVehicleClass, Vehicletype_getWidth, Vehicletype_setAccel, Vehicletype_setColor, Vehicletype_setDecel, Vehicletype_setEmissionClass, Vehicletype_setImperfection, Vehicletype_setLength, Vehicletype_setMaxSpeed, Vehicletype_setMinGap, Vehicletype_setShapeClass, Vehicletype_setSpeedDeviation, Vehicletype_setSpeedFactor, Vehicletype_setTau, Vehicletype_setVehicleClass, Vehicletype_setWidth
-
-
-
-
Constructor Detail
-
ServiceImpl
public ServiceImpl(Config conf)
-
-
Method Detail
-
start
public java.lang.String start(java.lang.String user)
-
get_Status
public java.lang.String get_Status(java.lang.String user)
- Specified by:
get_Status
in interfaceService
-
LastActionTime
public java.lang.String LastActionTime()
- Specified by:
LastActionTime
in interfaceService
-
TXT_output
public java.lang.String TXT_output(boolean input)
- Specified by:
TXT_output
in interfaceService
-
addOption
public void addOption(java.lang.String name, java.lang.String value)
-
doTimestep
public void doTimestep()
- Specified by:
doTimestep
in interfaceService
-
setConfig
public void setConfig(java.lang.String filename)
-
setSumoBinary
public void setSumoBinary(java.lang.String filename)
- Specified by:
setSumoBinary
in interfaceService
-
-