SUMO - Simulation of Urban MObility
libsumo::VehicleType Class Reference

#include <VehicleType.h>

Collaboration diagram for libsumo::VehicleType:
Collaboration graph

Static Public Member Functions

static void copy (const std::string &origTypeID, const std::string &newTypeID)
 
static double getAccel (const std::string &typeID)
 
static double getActionStepLength (const std::string &typeID)
 
static double getApparentDecel (const std::string &typeID)
 
static TraCIColor getColor (const std::string &typeID)
 
static double getDecel (const std::string &typeID)
 
static double getEmergencyDecel (const std::string &typeID)
 
static std::string getEmissionClass (const std::string &typeID)
 
static double getHeight (const std::string &typeID)
 
static std::vector< std::string > getIDList ()
 
static double getImperfection (const std::string &typeID)
 
static std::string getLateralAlignment (const std::string &typeID)
 
static double getLength (const std::string &typeID)
 
static double getMaxSpeed (const std::string &typeID)
 
static double getMaxSpeedLat (const std::string &typeID)
 
static double getMinGap (const std::string &typeID)
 
static double getMinGapLat (const std::string &typeID)
 
static std::string getParameter (const std::string &typeID, const std::string &key)
 
static std::string getShapeClass (const std::string &typeID)
 
static double getSpeedDeviation (const std::string &typeID)
 
static double getSpeedFactor (const std::string &typeID)
 
static double getTau (const std::string &typeID)
 
static std::string getVehicleClass (const std::string &typeID)
 
static MSVehicleTypegetVType (std::string id)
 
static double getWidth (const std::string &typeID)
 
static void setAccel (const std::string &typeID, double accel)
 
static void setActionStepLength (const std::string &typeID, double actionStepLength, bool resetActionOffset)
 
static void setApparentDecel (const std::string &typeID, double decel)
 
static void setColor (const std::string &typeID, const TraCIColor &c)
 
static void setDecel (const std::string &typeID, double decel)
 
static void setEmergencyDecel (const std::string &typeID, double decel)
 
static void setEmissionClass (const std::string &typeID, const std::string &clazz)
 
static void setHeight (const std::string &typeID, double height)
 
static void setImperfection (const std::string &typeID, double imperfection)
 
static void setLateralAlignment (const std::string &typeID, const std::string &latAlignment)
 
static void setLength (const std::string &typeID, double length)
 
static void setMaxSpeed (const std::string &typeID, double speed)
 
static void setMaxSpeedLat (const std::string &typeID, double speed)
 
static void setMinGap (const std::string &typeID, double minGap)
 
static void setMinGapLat (const std::string &typeID, double minGapLat)
 
static void setParameter (const std::string &id, const std::string &name, const std::string &value)
 
static void setShapeClass (const std::string &typeID, const std::string &shapeClass)
 
static void setSpeedDeviation (const std::string &typeID, double deviation)
 
static void setSpeedFactor (const std::string &typeID, double factor)
 
static void setTau (const std::string &typeID, double tau)
 
static void setVehicleClass (const std::string &typeID, const std::string &clazz)
 
static void setWidth (const std::string &typeID, double width)
 

Private Member Functions

VehicleTypeoperator= (const VehicleType &src)
 invalidated assignment operator More...
 
 VehicleType ()
 invalidated standard constructor More...
 
 VehicleType (const VehicleType &src)
 invalidated copy constructor More...
 

Detailed Description

Definition at line 40 of file VehicleType.h.

Constructor & Destructor Documentation

◆ VehicleType() [1/2]

libsumo::VehicleType::VehicleType ( )
private

invalidated standard constructor

◆ VehicleType() [2/2]

libsumo::VehicleType::VehicleType ( const VehicleType src)
private

invalidated copy constructor

Member Function Documentation

◆ copy()

void VehicleType::copy ( const std::string &  origTypeID,
const std::string &  newTypeID 
)
static

Definition at line 309 of file VehicleType.cpp.

References MSVehicleType::duplicateType(), and getVType().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ getAccel()

double VehicleType::getAccel ( const std::string &  typeID)
static

◆ getActionStepLength()

double VehicleType::getActionStepLength ( const std::string &  typeID)
static

◆ getApparentDecel()

double VehicleType::getApparentDecel ( const std::string &  typeID)
static

◆ getColor()

TraCIColor VehicleType::getColor ( const std::string &  typeID)
static

◆ getDecel()

double VehicleType::getDecel ( const std::string &  typeID)
static

◆ getEmergencyDecel()

double VehicleType::getEmergencyDecel ( const std::string &  typeID)
static

◆ getEmissionClass()

std::string VehicleType::getEmissionClass ( const std::string &  typeID)
static

◆ getHeight()

double VehicleType::getHeight ( const std::string &  typeID)
static

Definition at line 145 of file VehicleType.cpp.

References MSVehicleType::getHeight(), and getVType().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ getIDList()

std::vector< std::string > VehicleType::getIDList ( )
static

◆ getImperfection()

double VehicleType::getImperfection ( const std::string &  typeID)
static

◆ getLateralAlignment()

std::string VehicleType::getLateralAlignment ( const std::string &  typeID)
static

◆ getLength()

double VehicleType::getLength ( const std::string &  typeID)
static

Definition at line 49 of file VehicleType.cpp.

References MSVehicleType::getLength(), and getVType().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ getMaxSpeed()

double VehicleType::getMaxSpeed ( const std::string &  typeID)
static

Definition at line 55 of file VehicleType.cpp.

References MSVehicleType::getMaxSpeed(), and getVType().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ getMaxSpeedLat()

double VehicleType::getMaxSpeedLat ( const std::string &  typeID)
static

◆ getMinGap()

double VehicleType::getMinGap ( const std::string &  typeID)
static

Definition at line 133 of file VehicleType.cpp.

References MSVehicleType::getMinGap(), and getVType().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ getMinGapLat()

double VehicleType::getMinGapLat ( const std::string &  typeID)
static

Definition at line 157 of file VehicleType.cpp.

References MSVehicleType::getMinGapLat(), and getVType().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ getParameter()

std::string VehicleType::getParameter ( const std::string &  typeID,
const std::string &  key 
)
static

◆ getShapeClass()

std::string VehicleType::getShapeClass ( const std::string &  typeID)
static

◆ getSpeedDeviation()

double VehicleType::getSpeedDeviation ( const std::string &  typeID)
static

◆ getSpeedFactor()

double VehicleType::getSpeedFactor ( const std::string &  typeID)
static

◆ getTau()

double VehicleType::getTau ( const std::string &  typeID)
static

◆ getVehicleClass()

std::string VehicleType::getVehicleClass ( const std::string &  typeID)
static

◆ getVType()

◆ getWidth()

double VehicleType::getWidth ( const std::string &  typeID)
static

Definition at line 139 of file VehicleType.cpp.

References getVType(), and MSVehicleType::getWidth().

Referenced by TraCIServerAPI_VehicleType::getVariable().

◆ operator=()

VehicleType& libsumo::VehicleType::operator= ( const VehicleType src)
private

invalidated assignment operator

◆ setAccel()

void VehicleType::setAccel ( const std::string &  typeID,
double  accel 
)
static

◆ setActionStepLength()

void VehicleType::setActionStepLength ( const std::string &  typeID,
double  actionStepLength,
bool  resetActionOffset 
)
static

◆ setApparentDecel()

void VehicleType::setApparentDecel ( const std::string &  typeID,
double  decel 
)
static

◆ setColor()

void VehicleType::setColor ( const std::string &  typeID,
const TraCIColor c 
)
static

◆ setDecel()

void VehicleType::setDecel ( const std::string &  typeID,
double  decel 
)
static

◆ setEmergencyDecel()

void VehicleType::setEmergencyDecel ( const std::string &  typeID,
double  decel 
)
static

◆ setEmissionClass()

void VehicleType::setEmissionClass ( const std::string &  typeID,
const std::string &  clazz 
)
static

◆ setHeight()

void VehicleType::setHeight ( const std::string &  typeID,
double  height 
)
static

Definition at line 236 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setHeight().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setImperfection()

void VehicleType::setImperfection ( const std::string &  typeID,
double  imperfection 
)
static

◆ setLateralAlignment()

void VehicleType::setLateralAlignment ( const std::string &  typeID,
const std::string &  latAlignment 
)
static

◆ setLength()

void VehicleType::setLength ( const std::string &  typeID,
double  length 
)
static

Definition at line 182 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setLength().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setMaxSpeed()

void VehicleType::setMaxSpeed ( const std::string &  typeID,
double  speed 
)
static

Definition at line 188 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setMaxSpeed().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setMaxSpeedLat()

void VehicleType::setMaxSpeedLat ( const std::string &  typeID,
double  speed 
)
static

◆ setMinGap()

void VehicleType::setMinGap ( const std::string &  typeID,
double  minGap 
)
static

Definition at line 242 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setMinGap().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setMinGapLat()

void VehicleType::setMinGapLat ( const std::string &  typeID,
double  minGapLat 
)
static

Definition at line 291 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setMinGapLat().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setParameter()

void VehicleType::setParameter ( const std::string &  id,
const std::string &  name,
const std::string &  value 
)
static

Definition at line 314 of file VehicleType.cpp.

References MSVehicleType::getParameter(), and getVType().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ setShapeClass()

void VehicleType::setShapeClass ( const std::string &  typeID,
const std::string &  shapeClass 
)
static

◆ setSpeedDeviation()

void VehicleType::setSpeedDeviation ( const std::string &  typeID,
double  deviation 
)
static

◆ setSpeedFactor()

void VehicleType::setSpeedFactor ( const std::string &  typeID,
double  factor 
)
static

◆ setTau()

void VehicleType::setTau ( const std::string &  typeID,
double  tau 
)
static

◆ setVehicleClass()

void VehicleType::setVehicleClass ( const std::string &  typeID,
const std::string &  clazz 
)
static

◆ setWidth()

void VehicleType::setWidth ( const std::string &  typeID,
double  width 
)
static

Definition at line 230 of file VehicleType.cpp.

References getVType(), and MSVehicleType::setWidth().

Referenced by TraCIServerAPI_VehicleType::setVariable().


The documentation for this class was generated from the following files: