Eclipse SUMO - Simulation of Urban MObility
|
#include <VehicleType.h>
Static Public Member Functions | |
LIBSUMO_GET_PARAMETER_WITH_KEY_API static LIBSUMO_VEHICLE_TYPE_SETTER void | copy (const std::string &origTypeID, const std::string &newTypeID) |
static int | getIDCount () |
static std::vector< std::string > | getIDList () |
static LIBSUMO_VEHICLE_TYPE_GETTER std::string | getParameter (const std::string &typeID, const std::string &key) |
static MSVehicleType * | getVType (std::string id) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static bool | handleVariableWithID (const std::string &objID, const std::string &typeID, const int variable, VariableWrapper *wrapper) |
static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrapper > | makeWrapper () |
static void | setParameter (const std::string &id, const std::string &name, const std::string &value) |
static void | setSpeedDeviation (const std::string &typeID, double deviation) |
Private Member Functions | |
VehicleType ()=delete | |
invalidated standard constructor More... | |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
Definition at line 90 of file VehicleType.h.
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 335 of file VehicleType.cpp.
References MSVehicleType::duplicateType(), and getVType().
Referenced by TraCIServerAPI_VehicleType::setVariable().
|
static |
Definition at line 52 of file VehicleType.cpp.
References MSVehicleType::getActionStepLengthSecs(), MSCFModel::getApparentDecel(), MSVehicleType::getCarFollowModel(), MSCFModel::getEmergencyDecel(), MSCFModel::getHeadwayTime(), MSVehicleType::getHeight(), getIDList(), MSCFModel::getImperfection(), MSVehicleType::getLength(), MSCFModel::getMaxAccel(), MSCFModel::getMaxDecel(), MSVehicleType::getMaxSpeed(), MSVehicleType::getMaxSpeedLat(), MSVehicleType::getMinGap(), MSVehicleType::getMinGapLat(), PollutantsInterface::getName(), Distribution_Parameterized::getParameter(), MSVehicleType::getSpeedFactor(), getVehicleShapeName(), getVType(), MSVehicleType::getWidth(), libsumo::Helper::makeTraCIColor(), and toString().
Referenced by handleVariableWithID().
|
static |
Definition at line 44 of file VehicleType.cpp.
References MSNet::getInstance(), MSNet::getVehicleControl(), and MSVehicleControl::insertVTypeIDs().
Referenced by getIDCount(), and handleVariableWithID().
|
static |
Definition at line 184 of file VehicleType.cpp.
References Parameterised::getParameter(), MSVehicleType::getParameter(), MSVehicleType::getPersonCapacity(), getVehicleClassID(), getVType(), LIBSUMO_GET_PARAMETER_WITH_KEY_IMPLEMENTATION, SUMOVehicleParserHelper::processActionStepLength(), MSVehicleType::setActionStepLength(), MSVehicleType::setLength(), MSVehicleType::setMaxSpeed(), MSVehicleType::setSpeedFactor(), and MSVehicleType::setVClass().
Referenced by TraCIServerAPI_VehicleType::processGet().
|
static |
Definition at line 350 of file VehicleType.cpp.
References MSNet::getInstance(), MSNet::getVehicleControl(), and MSVehicleControl::getVType().
Referenced by copy(), getIDCount(), getParameter(), setParameter(), and setSpeedDeviation().
|
static |
Definition at line 366 of file VehicleType.cpp.
References handleVariableWithID().
Referenced by libsumo::Person::handleVariable(), makeWrapper(), and TraCIServerAPI_VehicleType::processGet().
|
static |
Definition at line 372 of file VehicleType.cpp.
References getIDCount(), getIDList(), libsumo::ID_COUNT, libsumo::TRACI_ID_LIST, libsumo::VAR_ACCEL, libsumo::VAR_ACTIONSTEPLENGTH, libsumo::VAR_APPARENT_DECEL, libsumo::VAR_COLOR, libsumo::VAR_DECEL, libsumo::VAR_EMERGENCY_DECEL, libsumo::VAR_EMISSIONCLASS, libsumo::VAR_HEIGHT, libsumo::VAR_IMPERFECTION, libsumo::VAR_LATALIGNMENT, libsumo::VAR_LENGTH, libsumo::VAR_MAXSPEED, libsumo::VAR_MAXSPEED_LAT, libsumo::VAR_MINGAP, libsumo::VAR_MINGAP_LAT, libsumo::VAR_PERSON_CAPACITY, libsumo::VAR_SHAPECLASS, libsumo::VAR_SPEED_DEVIATION, libsumo::VAR_SPEED_FACTOR, libsumo::VAR_TAU, libsumo::VAR_VEHICLECLASS, libsumo::VAR_WIDTH, libsumo::VariableWrapper::wrapColor(), libsumo::VariableWrapper::wrapDouble(), libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapString(), and libsumo::VariableWrapper::wrapStringList().
Referenced by handleVariable(), and libsumo::Vehicle::handleVariable().
|
static |
Definition at line 360 of file VehicleType.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
static |
Definition at line 341 of file VehicleType.cpp.
References MSVehicleType::getParameter(), getVType(), and LIBSUMO_SUBSCRIPTION_IMPLEMENTATION.
Referenced by TraCIServerAPI_VehicleType::setVariable().
|
static |
Definition at line 226 of file VehicleType.cpp.
References SUMOVTypeParameter::cfParameter, MSVehicleType::getCarFollowModel(), PollutantsInterface::getClassByName(), MSCFModel::getEmergencyDecel(), MSCFModel::getMaxDecel(), MSVehicleType::getParameter(), getVehicleShapeID(), getVType(), SUMOXMLDefinitions::LateralAlignments, libsumo::Helper::makeRGBColor(), MSVehicleType::setAccel(), MSVehicleType::setApparentDecel(), MSVehicleType::setColor(), MSVehicleType::setDecel(), MSVehicleType::setEmergencyDecel(), MSVehicleType::setEmissionClass(), MSVehicleType::setHeight(), MSVehicleType::setImperfection(), MSVehicleType::setMaxSpeedLat(), MSVehicleType::setMinGap(), MSVehicleType::setMinGapLat(), MSVehicleType::setPreferredLateralAlignment(), MSVehicleType::setShape(), MSVehicleType::setSpeedDeviation(), MSVehicleType::setTau(), MSVehicleType::setWidth(), SUMO_ATTR_EMERGENCYDECEL, toString(), and WRITE_WARNING.
Referenced by TraCIServerAPI_VehicleType::setVariable().
|
staticprivate |
Definition at line 115 of file VehicleType.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 114 of file VehicleType.h.
Referenced by makeWrapper().