32 typedef Domain<libsumo::CMD_GET_VEHICLETYPE_VARIABLE, libsumo::CMD_SET_VEHICLETYPE_VARIABLE>
Dom;
38 std::vector<std::string>
39 VehicleType::getIDList() {
45 VehicleType::getIDCount() {
55 VehicleType::copy(
const std::string& origTypeID,
const std::string& newTypeID) {
60 VehicleType::getSpeedFactor(
const std::string& typeID) {
65 VehicleType::getSpeedDeviation(
const std::string& typeID) {
71 VehicleType::getEmissionClass(
const std::string& typeID) {
76 VehicleType::getShapeClass(
const std::string& typeID) {
82 VehicleType::getLength(
const std::string& typeID) {
88 VehicleType::getAccel(
const std::string& typeID) {
94 VehicleType::getDecel(
const std::string& typeID) {
99 double VehicleType::getEmergencyDecel(
const std::string& typeID) {
104 double VehicleType::getApparentDecel(
const std::string& typeID) {
109 double VehicleType::getActionStepLength(
const std::string& typeID) {
115 VehicleType::getTau(
const std::string& typeID) {
121 VehicleType::getImperfection(
const std::string& typeID) {
127 VehicleType::getVehicleClass(
const std::string& typeID) {
133 VehicleType::getMinGap(
const std::string& typeID) {
139 VehicleType::getMinGapLat(
const std::string& typeID) {
145 VehicleType::getMaxSpeed(
const std::string& typeID) {
151 VehicleType::getMaxSpeedLat(
const std::string& typeID) {
157 VehicleType::getLateralAlignment(
const std::string& typeID) {
163 VehicleType::getWidth(
const std::string& typeID) {
169 VehicleType::getHeight(
const std::string& typeID) {
175 VehicleType::getColor(
const std::string& typeID) {
181 VehicleType::getPersonCapacity(
const std::string& typeID) {
187 VehicleType::setActionStepLength(
const std::string& typeID,
double actionStepLength,
bool resetActionOffset) {
192 if (!resetActionOffset) {
193 actionStepLength *= -1;
206 VehicleType::setSpeedFactor(
const std::string& typeID,
double factor) {
212 VehicleType::setSpeedDeviation(
const std::string& typeID,
double deviation) {
218 VehicleType::setLength(
const std::string& typeID,
double length) {
224 VehicleType::setMaxSpeed(
const std::string& typeID,
double speed) {
230 VehicleType::setVehicleClass(
const std::string& typeID,
const std::string& clazz) {
236 VehicleType::setShapeClass(
const std::string& typeID,
const std::string& clazz) {
242 VehicleType::setEmissionClass(
const std::string& typeID,
const std::string& clazz) {
248 VehicleType::setWidth(
const std::string& typeID,
double width) {
254 VehicleType::setHeight(
const std::string& typeID,
double height) {
260 VehicleType::setMinGap(
const std::string& typeID,
double minGap) {
266 VehicleType::setAccel(
const std::string& typeID,
double accel) {
272 VehicleType::setDecel(
const std::string& typeID,
double decel) {
278 VehicleType::setEmergencyDecel(
const std::string& typeID,
double decel) {
284 VehicleType::setApparentDecel(
const std::string& typeID,
double decel) {
290 VehicleType::setImperfection(
const std::string& typeID,
double imperfection) {
296 VehicleType::setTau(
const std::string& typeID,
double tau) {
302 VehicleType::setMinGapLat(
const std::string& typeID,
double minGapLat) {
308 VehicleType::setMaxSpeedLat(
const std::string& typeID,
double speed) {
314 VehicleType::setLateralAlignment(
const std::string& typeID,
const std::string& latAlignment) {
#define LIBTRACI_SUBSCRIPTION_IMPLEMENTATION(CLASS, DOMAIN)
#define LIBTRACI_PARAMETER_IMPLEMENTATION(CLASS, DOMAIN)
C++ TraCI client API implementation.
static void setDouble(int var, const std::string &id, double value)
static void setCol(int var, const std::string &id, const libsumo::TraCIColor value)
static std::vector< std::string > getStringVector(int var, const std::string &id, tcpip::Storage *add=nullptr)
static libsumo::TraCIColor getCol(int var, const std::string &id, tcpip::Storage *add=nullptr)
static std::string getString(int var, const std::string &id, tcpip::Storage *add=nullptr)
static int getInt(int var, const std::string &id, tcpip::Storage *add=nullptr)
static double getDouble(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void setString(int var, const std::string &id, const std::string &value)
TRACI_CONST int VAR_VEHICLECLASS
TRACI_CONST int TRACI_ID_LIST
TRACI_CONST int VAR_LATALIGNMENT
TRACI_CONST int VAR_MINGAP
TRACI_CONST int VAR_SHAPECLASS
TRACI_CONST int VAR_ACTIONSTEPLENGTH
TRACI_CONST int VAR_SPEED_FACTOR
TRACI_CONST int VAR_COLOR
TRACI_CONST int VAR_WIDTH
TRACI_CONST int VAR_PERSON_CAPACITY
TRACI_CONST int VAR_MAXSPEED
TRACI_CONST int VAR_LENGTH
TRACI_CONST int VAR_MAXSPEED_LAT
TRACI_CONST int VAR_IMPERFECTION
TRACI_CONST int VAR_HEIGHT
TRACI_CONST int VAR_APPARENT_DECEL
TRACI_CONST int VAR_DECEL
TRACI_CONST int VAR_MINGAP_LAT
TRACI_CONST int VAR_EMERGENCY_DECEL
TRACI_CONST int VAR_EMISSIONCLASS
TRACI_CONST int VAR_ACCEL
TRACI_CONST int VAR_SPEED_DEVIATION
Domain< libsumo::CMD_GET_BUSSTOP_VARIABLE, libsumo::CMD_SET_BUSSTOP_VARIABLE > Dom