![]() |
SUMO - Simulation of Urban MObility
|
C++ TraCI client API implementation. More...
#include <TraCI_Lane.h>

Static Public Member Functions | |
| static std::vector< std::string > | getAllowed (std::string laneID) |
| static double | getCO2Emission (std::string laneID) |
| static double | getCOEmission (std::string laneID) |
| static std::vector< std::string > | getDisallowed (std::string laneID) |
| static std::string | getEdgeID (std::string laneID) |
| static double | getElectricityConsumption (std::string laneID) |
| static std::vector< std::string > | getFoes (const std::string &laneID, const std::string &toLaneID) |
| static double | getFuelConsumption (std::string laneID) |
| static double | getHCEmission (std::string laneID) |
| static int | getIDCount () |
| static std::vector< std::string > | getIDList () |
| static std::vector< std::string > | getInternalFoes (const std::string &laneID) |
| static const MSLane * | getLane (const std::string &id) |
| static int | getLastStepHaltingNumber (std::string laneID) |
| static double | getLastStepLength (std::string laneID) |
| static double | getLastStepMeanSpeed (std::string laneID) |
| static double | getLastStepOccupancy (std::string laneID) |
| static std::vector< std::string > | getLastStepVehicleIDs (std::string laneID) |
| static int | getLastStepVehicleNumber (std::string laneID) |
| static double | getLength (std::string laneID) |
| static int | getLinkNumber (std::string laneID) |
| static std::vector< TraCIConnection > | getLinks (std::string laneID) |
| static double | getMaxSpeed (std::string laneID) |
| static double | getNoiseEmission (std::string laneID) |
| static double | getNOxEmission (std::string laneID) |
| static std::string | getParameter (const std::string &laneID, const std::string ¶m) |
| static double | getPMxEmission (std::string laneID) |
| static TraCIPositionVector | getShape (std::string laneID) |
| static double | getTraveltime (std::string laneID) |
| static double | getWaitingTime (std::string laneID) |
| static double | getWidth (std::string laneID) |
| static void | setAllowed (std::string laneID, std::vector< std::string > allowedClasses) |
| static void | setDisallowed (std::string laneID, std::vector< std::string > disallowedClasses) |
| static void | setLength (std::string laneID, double length) |
| static void | setMaxSpeed (std::string laneID, double speed) |
| static void | setParameter (const std::string &routeID, const std::string &key, const std::string &value) |
| static void | subscribe (const std::string &objID, SUMOTime beginTime, SUMOTime endTime, const std::vector< int > &vars) |
| static void | subscribeContext (const std::string &objID, SUMOTime beginTime, SUMOTime endTime, int domain, double range, const std::vector< int > &vars) |
Private Member Functions | |
| TraCI_Lane & | operator= (const TraCI_Lane &src) |
| invalidated assignment operator More... | |
| TraCI_Lane () | |
| invalidated standard constructor More... | |
| TraCI_Lane (const TraCI_Lane &src) | |
| invalidated copy constructor More... | |
C++ TraCI client API implementation.
Definition at line 51 of file TraCI_Lane.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
static |
Definition at line 108 of file TraCI_Lane.cpp.
References getLane(), MSLane::getPermissions(), getVehicleClassNamesList(), and SVCAll.
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 145 of file TraCI_Lane.cpp.
References MSLane::getCO2Emissions(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 151 of file TraCI_Lane.cpp.
References MSLane::getCOEmissions(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 118 of file TraCI_Lane.cpp.
References getLane(), getVehicleClassNamesList(), and invertPermissions().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 60 of file TraCI_Lane.cpp.
References MSLane::getEdge(), Named::getID(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 186 of file TraCI_Lane.cpp.
References MSLane::getElectricityConsumption(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 270 of file TraCI_Lane.cpp.
References MSLinkContHelper::getConnectingLink(), MSLink::getFoeLinks(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 174 of file TraCI_Lane.cpp.
References MSLane::getFuelConsumption(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 157 of file TraCI_Lane.cpp.
References MSLane::getHCEmissions(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 54 of file TraCI_Lane.cpp.
References getIDList().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 46 of file TraCI_Lane.cpp.
References MSLane::insertIDs().
Referenced by getIDCount(), and TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 286 of file TraCI_Lane.cpp.
References MSLink::getFoeLanes(), getLane(), MSLane::getLinkCont(), and MSLane::isInternal().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 348 of file TraCI_Lane.cpp.
References MSLane::dictionary().
Referenced by getAllowed(), getCO2Emission(), getCOEmission(), getDisallowed(), getEdgeID(), getElectricityConsumption(), getFoes(), getFuelConsumption(), getHCEmission(), getInternalFoes(), getLastStepHaltingNumber(), getLastStepLength(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getLength(), getLinkNumber(), getLinks(), getMaxSpeed(), getNoiseEmission(), getNOxEmission(), getParameter(), getPMxEmission(), getShape(), getTraveltime(), getWaitingTime(), getWidth(), setAllowed(), setDisallowed(), setLength(), setMaxSpeed(), and setParameter().
|
static |
Definition at line 243 of file TraCI_Lane.cpp.
References getLane(), MSLane::getVehiclesSecure(), MSLane::releaseVehicles(), and SUMO_const_haltingSpeed.
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 204 of file TraCI_Lane.cpp.
References getLane(), MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 192 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getMeanSpeed().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 198 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getNettoOccupancy().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 258 of file TraCI_Lane.cpp.
References getLane(), MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 238 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getVehicleNumber().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 66 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getLength().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 78 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getLinkCont().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 84 of file TraCI_Lane.cpp.
References MSNet::getCurrentTimeStep(), SUMOVTypeParameter::getDefault(), SUMOVTypeParameter::getDefaultDecel(), MSLink::getDirection(), Named::getID(), MSNet::getInstance(), getLane(), MSLink::getLane(), MSLink::getLength(), MSLane::getLinkCont(), MSLane::getSpeedLimit(), MSLink::getState(), StringBijection< T >::getString(), MSLink::getViaLane(), MSLink::hasApproachingFoe(), MSLink::havePriority(), SUMOXMLDefinitions::LinkDirections, SUMOXMLDefinitions::LinkStates, MIN2(), and MSLink::opened().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 72 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getSpeedLimit().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 180 of file TraCI_Lane.cpp.
References MSLane::getHarmonoise_NoiseEmissions(), and getLane().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 169 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getNOxEmissions().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 335 of file TraCI_Lane.cpp.
References getLane(), and Parameterised::getParameter().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 163 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getPMxEmissions().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 124 of file TraCI_Lane.cpp.
References getLane(), MSLane::getShape(), TraCIPosition::x, TraCIPosition::y, and TraCIPosition::z.
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 226 of file TraCI_Lane.cpp.
References getLane(), MSLane::getLength(), and MSLane::getMeanSpeed().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 220 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getWaitingSeconds().
Referenced by TraCIServerAPI_Lane::processGet().
|
static |
Definition at line 139 of file TraCI_Lane.cpp.
References getLane(), and MSLane::getWidth().
Referenced by TraCIServerAPI_Lane::processGet().
|
private |
invalidated assignment operator
|
static |
Definition at line 305 of file TraCI_Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), getLane(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
Referenced by TraCIServerAPI_Lane::processSet().
|
static |
Definition at line 313 of file TraCI_Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), getLane(), invertPermissions(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
Referenced by TraCIServerAPI_Lane::processSet().
|
static |
Definition at line 328 of file TraCI_Lane.cpp.
References getLane(), and MSLane::setLength().
Referenced by TraCIServerAPI_Lane::processSet().
|
static |
Definition at line 321 of file TraCI_Lane.cpp.
References getLane(), and MSLane::setMaxSpeed().
Referenced by TraCIServerAPI_Lane::processSet().
|
static |
Definition at line 341 of file TraCI_Lane.cpp.
References getLane(), and Parameterised::setParameter().
Referenced by TraCIServerAPI_Lane::processSet().
|
static |
|
static |