Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
VehicleType.h File Reference
#include <string>
#include <libsumo/TraCIDefs.h>
#include <libsumo/TraCIConstants.h>
Include dependency graph for VehicleType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  LIBSUMO_NAMESPACE::VehicleType
 

Namespaces

namespace  LIBSUMO_NAMESPACE
 

Macros

#define LIBSUMO_VEHICLE_TYPE_GETTER
 
#define LIBSUMO_VEHICLE_TYPE_SETTER
 

Detailed Description

Author
Gregor Laemmel
Date
04.04.2017

Definition in file VehicleType.h.

Macro Definition Documentation

◆ LIBSUMO_VEHICLE_TYPE_GETTER

#define LIBSUMO_VEHICLE_TYPE_GETTER
Value:
static double getLength(const std::string& typeID); \
static double getMaxSpeed(const std::string& typeID); \
static std::string getVehicleClass(const std::string& typeID); \
static double getSpeedFactor(const std::string& typeID); \
static double getAccel(const std::string& typeID); \
static double getDecel(const std::string& typeID); \
static double getEmergencyDecel(const std::string& typeID); \
static double getApparentDecel(const std::string& typeID); \
static double getImperfection(const std::string& typeID); \
static double getTau(const std::string& typeID); \
static std::string getEmissionClass(const std::string& typeID); \
static std::string getShapeClass(const std::string& typeID); \
static double getMinGap(const std::string& typeID); \
static double getWidth(const std::string& typeID); \
static double getHeight(const std::string& typeID); \
static double getMass(const std::string& typeID); \
static libsumo::TraCIColor getColor(const std::string& typeID); \
static double getMinGapLat(const std::string& typeID); \
static double getMaxSpeedLat(const std::string& typeID); \
static std::string getLateralAlignment(const std::string& typeID); \
static int getPersonCapacity(const std::string& typeID); \
static double getActionStepLength(const std::string& typeID); \
\
static double getSpeedDeviation(const std::string& typeID); \
static double getBoardingDuration(const std::string& typeID); \
static double getImpatience(const std::string& typeID); \

Definition at line 27 of file VehicleType.h.

◆ LIBSUMO_VEHICLE_TYPE_SETTER

#define LIBSUMO_VEHICLE_TYPE_SETTER
Value:
static void setLength(const std::string& typeID, double length); \
static void setMaxSpeed(const std::string& typeID, double speed); \
static void setVehicleClass(const std::string& typeID, const std::string& clazz); \
static void setSpeedFactor(const std::string& typeID, double factor); \
static void setAccel(const std::string& typeID, double accel); \
static void setDecel(const std::string& typeID, double decel); \
static void setEmergencyDecel(const std::string& typeID, double decel); \
static void setApparentDecel(const std::string& typeID, double decel); \
static void setImperfection(const std::string& typeID, double imperfection); \
static void setTau(const std::string& typeID, double tau); \
static void setEmissionClass(const std::string& typeID, const std::string& clazz); \
static void setShapeClass(const std::string& typeID, const std::string& shapeClass); \
static void setWidth(const std::string& typeID, double width); \
static void setHeight(const std::string& typeID, double height); \
static void setMass(const std::string& typeID, double mass); \
static void setColor(const std::string& typeID, const libsumo::TraCIColor& color); \
static void setMinGap(const std::string& typeID, double minGap); \
static void setMinGapLat(const std::string& typeID, double minGapLat); \
static void setMaxSpeedLat(const std::string& typeID, double speed); \
static void setLateralAlignment(const std::string& typeID, const std::string& latAlignment); \
static void setActionStepLength(const std::string& typeID, double actionStepLength, bool resetActionOffset=true); \
static void setBoardingDuration(const std::string& typeID, double boardingDuration); \
static void setImpatience(const std::string& typeID, double impatience); \

Definition at line 56 of file VehicleType.h.