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

Static Public Member Functions | |
| static std::vector< TraCIStage > | findIntermodalRoute (const std::string &from, const std::string &to, const std::string modes, const SUMOTime depart, const int routingMode, const double speed, const double walkFactor, const double departPos, const double arrivalPos, const double departPosLat, const std::string &pType, const std::string &vehType) |
| static TraCIStage | findRoute (const std::string &from, const std::string &to, const std::string &typeID, const SUMOTime depart, const int routingMode) |
| static SUMOTime | getCurrentTime () |
| static SUMOTime | getDeltaT () |
| static int | getMinExpectedNumber () |
| static TraCIBoundary | getNetBoundary () |
| static std::string | getParameter (const std::string &objectID, const std::string &key) |
Private Member Functions | |
| TraCI_Simulation & | operator= (const TraCI_Simulation &src) |
| invalidated assignment operator More... | |
| TraCI_Simulation () | |
| invalidated standard constructor More... | |
| TraCI_Simulation (const TraCI_Simulation &src) | |
| invalidated copy constructor More... | |
C++ TraCI client API implementation.
Definition at line 47 of file TraCI_Simulation.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
static |
Definition at line 121 of file TraCI_Simulation.cpp.
References MSVehicleControl::buildVehicle(), PedestrianRouter< E, L, N, V, INTERNALROUTER >::compute(), DEFAULT_PEDTYPE_ID, MSVehicleControl::deleteVehicle(), MSEdge::dictionary(), MSTransportable::DRIVING, MSGlobals::gCheckRoutes, MSNet::getCurrentTimeStep(), Named::getID(), MSVehicleType::getID(), MSNet::getInstance(), MSVehicleType::getMaxSpeed(), MSNet::getPedestrianRouter(), MSEdge::getPermissions(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), StringTokenizer::hasNext(), MSVehicleControl::hasVType(), MSTransportable::MOVING_WITHOUT_VEHICLE, SVC_BICYCLE, SVC_BUS, SVC_IGNORING, SVC_PASSENGER, and UNUSED_PARAMETER.
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 85 of file TraCI_Simulation.cpp.
References MSVehicleControl::buildVehicle(), SUMOAbstractRouter< E, V >::compute(), TraCIStage::cost, MSVehicleControl::deleteVehicle(), MSEdge::dictionary(), MSTransportable::DRIVING, TraCIStage::edges, MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSNet::getRouterTT(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOAbstractRouter< E, V >::recomputeCosts(), TraCIStage::travelTime, and UNUSED_PARAMETER.
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 53 of file TraCI_Simulation.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 59 of file TraCI_Simulation.cpp.
References DELTA_T.
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 79 of file TraCI_Simulation.cpp.
References MSVehicleControl::getActiveVehicleCount(), MSNet::getInsertionControl(), MSNet::getInstance(), MSInsertionControl::getPendingFlowCount(), and MSNet::getVehicleControl().
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 65 of file TraCI_Simulation.cpp.
References GeoConvHelper::getConvBoundary(), GeoConvHelper::getFinal(), Boundary::xmax(), TraCIBoundary::xMax, Boundary::xmin(), TraCIBoundary::xMin, Boundary::ymax(), TraCIBoundary::yMax, Boundary::ymin(), TraCIBoundary::yMin, TraCIBoundary::zMax, Boundary::zmax(), Boundary::zmin(), and TraCIBoundary::zMin.
Referenced by TraCIServerAPI_Simulation::processGet().
|
static |
Definition at line 202 of file TraCI_Simulation.cpp.
References MSParkingArea::getCapacity(), MSNet::getInstance(), MSParkingArea::getOccupancy(), MSNet::getStoppingPlace(), MSChargingStation::getTotalCharged(), StringUtils::startsWith(), SUMO_ATTR_TOTALENERGYCHARGED, SUMO_TAG_CHARGING_STATION, SUMO_TAG_PARKING_AREA, and toString().
Referenced by TraCIServerAPI_Simulation::processGet().
|
private |
invalidated assignment operator