![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <Calibrator.h>
Static Public Member Functions | |
static double | getBegin (const std::string &calibratorID) |
static std::string | getEdgeID (const std::string &calibratorID) |
static double | getEnd (const std::string &calibratorID) |
static int | getInserted (const std::string &calibratorID) |
static std::string | getLaneID (const std::string &calibratorID) |
static int | getPassed (const std::string &calibratorID) |
static int | getRemoved (const std::string &calibratorID) |
static std::string | getRouteID (const std::string &calibratorID) |
static std::string | getRouteProbeID (const std::string &calibratorID) |
static double | getSpeed (const std::string &calibratorID) |
static std::string | getTypeID (const std::string &calibratorID) |
static double | getVehsPerHour (const std::string &calibratorID) |
static std::vector< std::string > | getVTypes (const std::string &routeID) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static std::shared_ptr< VariableWrapper > | makeWrapper () |
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void | setFlow (const std::string &calibratorID, double begin, double end, double vehsPerHour, double speed, const std::string &typeID, const std::string &routeID, const std::string &departLane="first", const std::string &departSpeed="max") |
Private Member Functions | |
Calibrator ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static MSCalibrator * | getCalibrator (const std::string &id) |
static MSCalibrator::AspiredState | getCalibratorState (const MSCalibrator *c) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
Definition at line 44 of file Calibrator.h.
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 88 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), and STEPS2TIME.
Referenced by handleVariable().
|
staticprivate |
Definition at line 178 of file Calibrator.cpp.
References MSCalibrator::getInstances().
Referenced by getBegin(), getEdgeID(), getEnd(), getInserted(), getLaneID(), getPassed(), getRemoved(), getRouteID(), getRouteProbeID(), getSpeed(), getTypeID(), getVehsPerHour(), getVTypes(), and setFlow().
|
staticprivate |
Definition at line 188 of file Calibrator.cpp.
References MSCalibrator::getCurrentStateInterval().
Referenced by getBegin(), getEnd(), getRouteID(), getSpeed(), getTypeID(), and getVehsPerHour().
|
static |
Definition at line 58 of file Calibrator.cpp.
References getCalibrator(), MSCalibrator::getEdge(), and Named::getID().
Referenced by handleVariable().
|
static |
Definition at line 93 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), and STEPS2TIME.
Referenced by handleVariable().
|
static |
Definition at line 128 of file Calibrator.cpp.
References getCalibrator(), and MSCalibrator::getInserted().
Referenced by handleVariable().
|
static |
Definition at line 63 of file Calibrator.cpp.
References getCalibrator(), Named::getID(), and MSCalibrator::getLane().
Referenced by handleVariable().
|
static |
Definition at line 123 of file Calibrator.cpp.
References getCalibrator(), and MSCalibrator::passed().
Referenced by handleVariable().
|
static |
Definition at line 133 of file Calibrator.cpp.
References getCalibrator(), and MSCalibrator::getRemoved().
Referenced by handleVariable().
|
static |
Definition at line 98 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), SUMOVehicleParameter::routeid, and MSCalibrator::AspiredState::vehicleParameter.
Referenced by handleVariable().
|
static |
Definition at line 103 of file Calibrator.cpp.
References getCalibrator(), Named::getID(), and MSCalibrator::getRouteProbe().
Referenced by handleVariable().
|
static |
Definition at line 78 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), and MSCalibrator::AspiredState::v.
Referenced by handleVariable().
|
static |
Definition at line 83 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), MSCalibrator::AspiredState::vehicleParameter, and SUMOVehicleParameter::vtypeid.
Referenced by handleVariable().
|
static |
Definition at line 73 of file Calibrator.cpp.
References getCalibrator(), getCalibratorState(), and MSCalibrator::AspiredState::q.
Referenced by handleVariable().
|
static |
Definition at line 113 of file Calibrator.cpp.
References getCalibrator(), and MSDetectorFileOutput::getVehicleTypes().
Referenced by handleVariable().
|
static |
Definition at line 203 of file Calibrator.cpp.
References getBegin(), getEdgeID(), getEnd(), getInserted(), getLaneID(), getPassed(), getRemoved(), getRouteID(), getRouteProbeID(), getSpeed(), getTypeID(), getVehsPerHour(), getVTypes(), libsumo::ID_COUNT, libsumo::TRACI_ID_LIST, libsumo::VAR_BEGIN, libsumo::VAR_END, libsumo::VAR_INSERTED, libsumo::VAR_LANE_ID, libsumo::VAR_PASSED, libsumo::VAR_REMOVED, libsumo::VAR_ROAD_ID, libsumo::VAR_ROUTE_ID, libsumo::VAR_ROUTE_PROBE, libsumo::VAR_SPEED, libsumo::VAR_TYPE, libsumo::VAR_VEHSPERHOUR, libsumo::VAR_VTYPES, libsumo::VariableWrapper::wrapDouble(), libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapString(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_Calibrator::processGet().
|
static |
Definition at line 197 of file Calibrator.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
static |
Definition at line 152 of file Calibrator.cpp.
References SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, getCalibrator(), MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOVehicleParameter::parseDepartLane(), SUMOVehicleParameter::parseDepartSpeed(), SUMOVehicleParameter::routeid, MSCalibrator::setFlow(), TIME2STEPS, and SUMOVehicleParameter::vtypeid.
Referenced by TraCIServerAPI_Calibrator::processSet().
|
staticprivate |
Definition at line 79 of file Calibrator.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 78 of file Calibrator.h.
Referenced by makeWrapper().