Eclipse SUMO - Simulation of Urban MObility
|
Scope for interaction with vehicle types. More...
#include <TraCIAPI.h>
Public Member Functions | |
void | clearSubscriptionResults () |
void | copy (const std::string &origTypeID, const std::string &newTypeID) const |
double | getAccel (const std::string &typeID) const |
const libsumo::ContextSubscriptionResults | getAllContextSubscriptionResults () const |
const libsumo::SubscriptionResults | getAllSubscriptionResults () const |
double | getApparentDecel (const std::string &typeID) const |
libsumo::TraCIColor | getColor (const std::string &typeID) const |
const libsumo::SubscriptionResults | getContextSubscriptionResults (const std::string &objID) const |
double | getDecel (const std::string &typeID) const |
double | getEmergencyDecel (const std::string &typeID) const |
std::string | getEmissionClass (const std::string &typeID) const |
double | getHeight (const std::string &typeID) const |
int | getIDCount () const |
std::vector< std::string > | getIDList () const |
double | getImperfection (const std::string &typeID) const |
std::string | getLateralAlignment (const std::string &typeID) const |
double | getLength (const std::string &typeID) const |
double | getMaxSpeed (const std::string &typeID) const |
double | getMaxSpeedLat (const std::string &typeID) const |
double | getMinGap (const std::string &typeID) const |
double | getMinGapLat (const std::string &typeID) const |
libsumo::SubscriptionResults & | getModifiableContextSubscriptionResults (const std::string &objID) |
libsumo::SubscriptionResults & | getModifiableSubscriptionResults () |
std::string | getParameter (const std::string &objectID, const std::string &key) const |
retrieve generic parameter More... | |
std::pair< std::string, std::string > | getParameterWithKey (const std::string &objectID, const std::string &key) const |
retrieve generic parameter and return (key, value) tuple More... | |
int | getPersonCapacity (const std::string &typeID) const |
std::string | getShapeClass (const std::string &typeID) const |
double | getSpeedDeviation (const std::string &typeID) const |
double | getSpeedFactor (const std::string &typeID) const |
const libsumo::TraCIResults | getSubscriptionResults (const std::string &objID) const |
double | getTau (const std::string &typeID) const |
std::string | getVehicleClass (const std::string &typeID) const |
double | getWidth (const std::string &typeID) const |
void | setAccel (const std::string &typeID, double accel) const |
void | setApparentDecel (const std::string &typeID, double decel) const |
void | setColor (const std::string &typeID, const libsumo::TraCIColor &c) const |
void | setDecel (const std::string &typeID, double decel) const |
void | setEmergencyDecel (const std::string &typeID, double decel) const |
void | setEmissionClass (const std::string &typeID, const std::string &clazz) const |
void | setHeight (const std::string &typeID, double height) const |
void | setImperfection (const std::string &typeID, double imperfection) const |
void | setLateralAlignment (const std::string &typeID, const std::string &latAlignment) const |
void | setLength (const std::string &typeID, double length) const |
void | setMaxSpeed (const std::string &typeID, double speed) const |
void | setMaxSpeedLat (const std::string &typeID, double speed) const |
void | setMinGap (const std::string &typeID, double minGap) const |
void | setMinGapLat (const std::string &typeID, double minGapLat) const |
void | setParameter (const std::string &objectID, const std::string &key, const std::string &value) const |
set generic paramter More... | |
void | setShapeClass (const std::string &typeID, const std::string &shapeClass) const |
void | setSpeedDeviation (const std::string &typeID, double deviation) const |
void | setSpeedFactor (const std::string &typeID, double factor) const |
void | setTau (const std::string &typeID, double tau) const |
void | setVehicleClass (const std::string &typeID, const std::string &clazz) const |
void | setWidth (const std::string &typeID, double width) const |
void | subscribe (const std::string &objID, const std::vector< int > &vars, double beginTime, double endTime) const |
void | subscribeContext (const std::string &objID, int domain, double range, const std::vector< int > &vars, double beginTime, double endTime) const |
VehicleTypeScope (TraCIAPI &parent) | |
virtual | ~VehicleTypeScope () |
Protected Member Functions | |
int | getByte (int var, const std::string &id, tcpip::Storage *add=0) const |
libsumo::TraCIColor | getCol (int var, const std::string &id, tcpip::Storage *add=0) const |
double | getDouble (int var, const std::string &id, tcpip::Storage *add=0) const |
std::vector< double > | getDoubleVector (int var, const std::string &id, tcpip::Storage *add=0) const |
int | getInt (int var, const std::string &id, tcpip::Storage *add=0) const |
libsumo::TraCIPositionVector | getPolygon (int var, const std::string &id, tcpip::Storage *add=0) const |
libsumo::TraCIPosition | getPos (int var, const std::string &id, tcpip::Storage *add=0) const |
libsumo::TraCIPosition | getPos3D (int var, const std::string &id, tcpip::Storage *add=0) const |
std::string | getString (int var, const std::string &id, tcpip::Storage *add=0) const |
std::vector< std::string > | getStringVector (int var, const std::string &id, tcpip::Storage *add=0) const |
libsumo::TraCIStage | getTraCIStage (int var, const std::string &id, tcpip::Storage *add=0) const |
int | getUnsignedByte (int var, const std::string &id, tcpip::Storage *add=0) const |
void | setDouble (int var, const std::string &id, double value) const |
void | setInt (int var, const std::string &id, int value) const |
void | setString (int var, const std::string &id, const std::string &value) const |
void | setStringVector (int var, const std::string &id, const std::vector< std::string > &value) const |
Protected Attributes | |
TraCIAPI & | myParent |
The parent TraCI client which offers the connection. More... | |
Private Attributes | |
int | myCmdGetID |
int | myCmdSetID |
int | myContextSubscribeID |
libsumo::ContextSubscriptionResults | myContextSubscriptionResults |
int | mySubscribeID |
libsumo::SubscriptionResults | mySubscriptionResults |
Scope for interaction with vehicle types.
Definition at line 502 of file TraCIAPI.h.
|
inline |
Definition at line 504 of file TraCIAPI.h.
|
inlinevirtual |
Definition at line 505 of file TraCIAPI.h.
|
inherited |
Definition at line 3894 of file TraCIAPI.cpp.
void TraCIAPI::VehicleTypeScope::copy | ( | const std::string & | origTypeID, |
const std::string & | newTypeID | ||
) | const |
Definition at line 2080 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::COPY, libsumo::TYPE_STRING, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getAccel | ( | const std::string & | typeID | ) | const |
Definition at line 1883 of file TraCIAPI.cpp.
References libsumo::VAR_ACCEL.
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3878 of file TraCIAPI.cpp.
|
inherited |
Definition at line 3862 of file TraCIAPI.cpp.
double TraCIAPI::VehicleTypeScope::getApparentDecel | ( | const std::string & | typeID | ) | const |
Definition at line 1898 of file TraCIAPI.cpp.
References libsumo::VAR_APPARENT_DECEL.
Referenced by TraCITestClient::testAPI().
|
protectedinherited |
Definition at line 3564 of file TraCIAPI.cpp.
References libsumo::INVALID_INT_VALUE, and libsumo::TYPE_BYTE.
|
protectedinherited |
Definition at line 3680 of file TraCIAPI.cpp.
References libsumo::TraCIColor::a, libsumo::TraCIColor::b, libsumo::TraCIColor::g, libsumo::TraCIColor::r, and libsumo::TYPE_COLOR.
libsumo::TraCIColor TraCIAPI::VehicleTypeScope::getColor | ( | const std::string & | typeID | ) | const |
Definition at line 1963 of file TraCIAPI.cpp.
References libsumo::VAR_COLOR.
|
inherited |
Definition at line 3884 of file TraCIAPI.cpp.
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getDecel | ( | const std::string & | typeID | ) | const |
Definition at line 1888 of file TraCIAPI.cpp.
References libsumo::VAR_DECEL.
|
protectedinherited |
Definition at line 3585 of file TraCIAPI.cpp.
References libsumo::INVALID_DOUBLE_VALUE, and libsumo::TYPE_DOUBLE.
Referenced by TraCIAPI::EdgeScope::getAdaptedTraveltime().
|
protectedinherited |
Definition at line 3666 of file TraCIAPI.cpp.
References libsumo::TYPE_DOUBLELIST.
double TraCIAPI::VehicleTypeScope::getEmergencyDecel | ( | const std::string & | typeID | ) | const |
Definition at line 1893 of file TraCIAPI.cpp.
References libsumo::VAR_EMERGENCY_DECEL.
Referenced by TraCITestClient::testAPI().
std::string TraCIAPI::VehicleTypeScope::getEmissionClass | ( | const std::string & | typeID | ) | const |
Definition at line 1918 of file TraCIAPI.cpp.
References libsumo::VAR_EMISSIONCLASS.
double TraCIAPI::VehicleTypeScope::getHeight | ( | const std::string & | typeID | ) | const |
Definition at line 1958 of file TraCIAPI.cpp.
References libsumo::VAR_HEIGHT.
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3749 of file TraCIAPI.cpp.
References libsumo::ID_COUNT.
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3743 of file TraCIAPI.cpp.
References libsumo::TRACI_ID_LIST.
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getImperfection | ( | const std::string & | typeID | ) | const |
Definition at line 1903 of file TraCIAPI.cpp.
References libsumo::VAR_IMPERFECTION.
|
protectedinherited |
Definition at line 3575 of file TraCIAPI.cpp.
References libsumo::INVALID_INT_VALUE, and libsumo::TYPE_INTEGER.
std::string TraCIAPI::VehicleTypeScope::getLateralAlignment | ( | const std::string & | typeID | ) | const |
Definition at line 1943 of file TraCIAPI.cpp.
References libsumo::VAR_LATALIGNMENT.
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getLength | ( | const std::string & | typeID | ) | const |
Definition at line 1863 of file TraCIAPI.cpp.
References libsumo::VAR_LENGTH.
double TraCIAPI::VehicleTypeScope::getMaxSpeed | ( | const std::string & | typeID | ) | const |
Definition at line 1868 of file TraCIAPI.cpp.
References libsumo::VAR_MAXSPEED.
double TraCIAPI::VehicleTypeScope::getMaxSpeedLat | ( | const std::string & | typeID | ) | const |
Definition at line 1938 of file TraCIAPI.cpp.
References libsumo::VAR_MAXSPEED_LAT.
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getMinGap | ( | const std::string & | typeID | ) | const |
Definition at line 1928 of file TraCIAPI.cpp.
References libsumo::VAR_MINGAP.
double TraCIAPI::VehicleTypeScope::getMinGapLat | ( | const std::string & | typeID | ) | const |
Definition at line 1933 of file TraCIAPI.cpp.
References libsumo::VAR_MINGAP_LAT.
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3907 of file TraCIAPI.cpp.
|
inherited |
Definition at line 3901 of file TraCIAPI.cpp.
|
inherited |
retrieve generic parameter
Definition at line 3755 of file TraCIAPI.cpp.
References libsumo::TYPE_STRING, libsumo::VAR_PARAMETER, tcpip::Storage::writeByte(), and tcpip::Storage::writeString().
Referenced by TraCITestClient::testAPI().
|
inherited |
retrieve generic parameter and return (key, value) tuple
Definition at line 3764 of file TraCIAPI.cpp.
References libsumo::TYPE_COMPOUND, libsumo::TYPE_STRING, libsumo::VAR_PARAMETER_WITH_KEY, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
int TraCIAPI::VehicleTypeScope::getPersonCapacity | ( | const std::string & | typeID | ) | const |
Definition at line 1948 of file TraCIAPI.cpp.
References libsumo::VAR_PERSON_CAPACITY.
Referenced by TraCITestClient::testAPI().
|
protectedinherited |
Definition at line 3595 of file TraCIAPI.cpp.
References libsumo::TYPE_POLYGON, libsumo::TraCIPositionVector::value, libsumo::TraCIPosition::x, libsumo::TraCIPosition::y, and libsumo::TraCIPosition::z.
|
protectedinherited |
Definition at line 3616 of file TraCIAPI.cpp.
References libsumo::POSITION_2D, libsumo::TraCIPosition::x, libsumo::TraCIPosition::y, and libsumo::TraCIPosition::z.
|
protectedinherited |
Definition at line 3629 of file TraCIAPI.cpp.
References libsumo::POSITION_3D, libsumo::TraCIPosition::x, libsumo::TraCIPosition::y, and libsumo::TraCIPosition::z.
std::string TraCIAPI::VehicleTypeScope::getShapeClass | ( | const std::string & | typeID | ) | const |
Definition at line 1923 of file TraCIAPI.cpp.
References libsumo::VAR_SHAPECLASS.
double TraCIAPI::VehicleTypeScope::getSpeedDeviation | ( | const std::string & | typeID | ) | const |
Definition at line 1878 of file TraCIAPI.cpp.
References libsumo::VAR_SPEED_DEVIATION.
double TraCIAPI::VehicleTypeScope::getSpeedFactor | ( | const std::string & | typeID | ) | const |
Definition at line 1873 of file TraCIAPI.cpp.
References libsumo::VAR_SPEED_FACTOR.
|
protectedinherited |
Definition at line 3642 of file TraCIAPI.cpp.
References libsumo::TYPE_STRING.
|
protectedinherited |
Definition at line 3652 of file TraCIAPI.cpp.
References libsumo::TYPE_STRINGLIST.
|
inherited |
Definition at line 3868 of file TraCIAPI.cpp.
Referenced by TraCITestClient::testAPI().
double TraCIAPI::VehicleTypeScope::getTau | ( | const std::string & | typeID | ) | const |
Definition at line 1908 of file TraCIAPI.cpp.
References libsumo::VAR_TAU.
|
protectedinherited |
Definition at line 3694 of file TraCIAPI.cpp.
References libsumo::TraCIStage::arrivalPos, libsumo::TraCIStage::cost, libsumo::TraCIStage::depart, libsumo::TraCIStage::departPos, libsumo::TraCIStage::description, libsumo::TraCIStage::destStop, libsumo::TraCIStage::edges, libsumo::TraCIStage::intended, libsumo::TraCIStage::length, libsumo::TraCIStage::line, libsumo::TraCIStage::travelTime, libsumo::TraCIStage::type, libsumo::TYPE_COMPOUND, and libsumo::TraCIStage::vType.
|
protectedinherited |
Definition at line 3554 of file TraCIAPI.cpp.
References libsumo::INVALID_INT_VALUE, and libsumo::TYPE_UBYTE.
std::string TraCIAPI::VehicleTypeScope::getVehicleClass | ( | const std::string & | typeID | ) | const |
Definition at line 1913 of file TraCIAPI.cpp.
References libsumo::VAR_VEHICLECLASS.
double TraCIAPI::VehicleTypeScope::getWidth | ( | const std::string & | typeID | ) | const |
Definition at line 1953 of file TraCIAPI.cpp.
References libsumo::VAR_WIDTH.
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setAccel | ( | const std::string & | typeID, |
double | accel | ||
) | const |
Definition at line 2098 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_ACCEL, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setApparentDecel | ( | const std::string & | typeID, |
double | decel | ||
) | const |
Definition at line 2125 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_APPARENT_DECEL, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setColor | ( | const std::string & | typeID, |
const libsumo::TraCIColor & | c | ||
) | const |
Definition at line 2152 of file TraCIAPI.cpp.
References libsumo::TraCIColor::a, libsumo::TraCIColor::b, libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TraCIColor::g, libsumo::TraCIColor::r, libsumo::TYPE_COLOR, libsumo::VAR_COLOR, and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setDecel | ( | const std::string & | typeID, |
double | decel | ||
) | const |
Definition at line 2107 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_DECEL, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
|
protectedinherited |
Definition at line 3807 of file TraCIAPI.cpp.
References libsumo::TYPE_DOUBLE, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setEmergencyDecel | ( | const std::string & | typeID, |
double | decel | ||
) | const |
Definition at line 2116 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_EMERGENCY_DECEL, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setEmissionClass | ( | const std::string & | typeID, |
const std::string & | clazz | ||
) | const |
Definition at line 2016 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_STRING, libsumo::VAR_EMISSIONCLASS, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setHeight | ( | const std::string & | typeID, |
double | height | ||
) | const |
Definition at line 2034 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_HEIGHT, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setImperfection | ( | const std::string & | typeID, |
double | imperfection | ||
) | const |
Definition at line 2134 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_IMPERFECTION, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
|
protectedinherited |
Definition at line 3797 of file TraCIAPI.cpp.
References libsumo::TYPE_INTEGER, tcpip::Storage::writeInt(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setLateralAlignment | ( | const std::string & | typeID, |
const std::string & | latAlignment | ||
) | const |
Definition at line 2071 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_STRING, libsumo::VAR_LATALIGNMENT, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setLength | ( | const std::string & | typeID, |
double | length | ||
) | const |
Definition at line 1970 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_LENGTH, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setMaxSpeed | ( | const std::string & | typeID, |
double | speed | ||
) | const |
Definition at line 1979 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_MAXSPEED, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setMaxSpeedLat | ( | const std::string & | typeID, |
double | speed | ||
) | const |
Definition at line 2062 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_MAXSPEED_LAT, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setMinGap | ( | const std::string & | typeID, |
double | minGap | ||
) | const |
Definition at line 2043 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_MINGAP, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setMinGapLat | ( | const std::string & | typeID, |
double | minGapLat | ||
) | const |
Definition at line 2053 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_MINGAP_LAT, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
|
inherited |
set generic paramter
Definition at line 3783 of file TraCIAPI.cpp.
References libsumo::TYPE_COMPOUND, libsumo::TYPE_STRING, libsumo::VAR_PARAMETER, tcpip::Storage::writeInt(), tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
void TraCIAPI::VehicleTypeScope::setShapeClass | ( | const std::string & | typeID, |
const std::string & | shapeClass | ||
) | const |
Definition at line 2089 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_STRING, libsumo::VAR_SHAPECLASS, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setSpeedDeviation | ( | const std::string & | typeID, |
double | deviation | ||
) | const |
Definition at line 2006 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_SPEED_DEVIATION, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setSpeedFactor | ( | const std::string & | typeID, |
double | factor | ||
) | const |
Definition at line 1997 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_SPEED_FACTOR, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
|
protectedinherited |
Definition at line 3817 of file TraCIAPI.cpp.
References libsumo::TYPE_STRING, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
|
protectedinherited |
Definition at line 3827 of file TraCIAPI.cpp.
References libsumo::TYPE_STRINGLIST, tcpip::Storage::writeInt(), tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setTau | ( | const std::string & | typeID, |
double | tau | ||
) | const |
Definition at line 2143 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_TAU, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setVehicleClass | ( | const std::string & | typeID, |
const std::string & | clazz | ||
) | const |
Definition at line 1988 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_STRING, libsumo::VAR_VEHICLECLASS, tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().
void TraCIAPI::VehicleTypeScope::setWidth | ( | const std::string & | typeID, |
double | width | ||
) | const |
Definition at line 2025 of file TraCIAPI.cpp.
References libsumo::CMD_SET_VEHICLETYPE_VARIABLE, libsumo::TYPE_DOUBLE, libsumo::VAR_WIDTH, tcpip::Storage::writeDouble(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3840 of file TraCIAPI.cpp.
Referenced by TraCITestClient::testAPI().
|
inherited |
Definition at line 3852 of file TraCIAPI.cpp.
Referenced by TraCITestClient::testAPI().
|
privateinherited |
Definition at line 154 of file TraCIAPI.h.
|
privateinherited |
Definition at line 155 of file TraCIAPI.h.
|
privateinherited |
Definition at line 157 of file TraCIAPI.h.
|
privateinherited |
Definition at line 159 of file TraCIAPI.h.
|
protectedinherited |
The parent TraCI client which offers the connection.
Definition at line 151 of file TraCIAPI.h.
|
privateinherited |
Definition at line 156 of file TraCIAPI.h.
|
privateinherited |
Definition at line 158 of file TraCIAPI.h.