SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIAPI::VehicleTypeScope Class Reference

Scope for interaction with vehicle types. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::VehicleTypeScope:
TraCIAPI::TraCIScopeWrapper

Public Member Functions

SUMOReal getAccel (const std::string &typeID) const
 
TraCIColor getColor (const std::string &typeID) const
 
SUMOReal getDecel (const std::string &typeID) const
 
std::string getEmissionClass (const std::string &typeID) const
 
std::vector< std::string > getIDList () const
 
SUMOReal getImperfection (const std::string &typeID) const
 
SUMOReal getLength (const std::string &typeID) const
 
SUMOReal getMaxSpeed (const std::string &typeID) const
 
SUMOReal getMinGap (const std::string &typeID) const
 
std::string getShapeClass (const std::string &typeID) const
 
SUMOReal getSpeedDeviation (const std::string &typeID) const
 
SUMOReal getSpeedFactor (const std::string &typeID) const
 
SUMOReal getTau (const std::string &typeID) const
 
std::string getVehicleClass (const std::string &typeID) const
 
SUMOReal getWidth (const std::string &typeID) const
 
void setAccel (const std::string &typeID, SUMOReal accel) const
 
void setColor (const std::string &typeID, const TraCIColor &c) const
 
void setDecel (const std::string &typeID, SUMOReal decel) const
 
void setEmissionClass (const std::string &typeID, const std::string &clazz) const
 
void setImperfection (const std::string &typeID, SUMOReal imperfection) const
 
void setLength (const std::string &typeID, SUMOReal length) const
 
void setMaxSpeed (const std::string &typeID, SUMOReal speed) const
 
void setMinGap (const std::string &typeID, SUMOReal minGap) const
 
void setShapeClass (const std::string &typeID, const std::string &clazz) const
 
void setSpeedDeviation (const std::string &typeID, SUMOReal deviation) const
 
void setSpeedFactor (const std::string &typeID, SUMOReal factor) const
 
void setTau (const std::string &typeID, SUMOReal tau) const
 
void setVehicleClass (const std::string &typeID, const std::string &clazz) const
 
void setWidth (const std::string &typeID, SUMOReal width) const
 
 VehicleTypeScope (TraCIAPI &parent)
 
virtual ~VehicleTypeScope ()
 

Protected Attributes

TraCIAPImyParent
 The parent TraCI client which offers the connection. More...
 

Private Member Functions

VehicleTypeScopeoperator= (const VehicleTypeScope &src)
 invalidated assignment operator More...
 
 VehicleTypeScope (const VehicleTypeScope &src)
 invalidated copy constructor More...
 

Detailed Description

Scope for interaction with vehicle types.

Definition at line 578 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::VehicleTypeScope::VehicleTypeScope ( TraCIAPI parent)
inline

Definition at line 580 of file TraCIAPI.h.

virtual TraCIAPI::VehicleTypeScope::~VehicleTypeScope ( )
inlinevirtual

Definition at line 581 of file TraCIAPI.h.

TraCIAPI::VehicleTypeScope::VehicleTypeScope ( const VehicleTypeScope src)
private

invalidated copy constructor

Member Function Documentation

SUMOReal TraCIAPI::VehicleTypeScope::getAccel ( const std::string &  typeID) const

Definition at line 1348 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_ACCEL.

TraCIAPI::TraCIColor TraCIAPI::VehicleTypeScope::getColor ( const std::string &  typeID) const

Definition at line 1393 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_COLOR.

SUMOReal TraCIAPI::VehicleTypeScope::getDecel ( const std::string &  typeID) const

Definition at line 1353 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_DECEL.

std::string TraCIAPI::VehicleTypeScope::getEmissionClass ( const std::string &  typeID) const

Definition at line 1373 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_EMISSIONCLASS.

std::vector< std::string > TraCIAPI::VehicleTypeScope::getIDList ( ) const

Definition at line 1323 of file TraCIAPI.cpp.

References CMD_GET_VEHICLETYPE_VARIABLE, and ID_LIST.

SUMOReal TraCIAPI::VehicleTypeScope::getImperfection ( const std::string &  typeID) const

Definition at line 1358 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_IMPERFECTION.

SUMOReal TraCIAPI::VehicleTypeScope::getLength ( const std::string &  typeID) const

Definition at line 1328 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_LENGTH.

SUMOReal TraCIAPI::VehicleTypeScope::getMaxSpeed ( const std::string &  typeID) const

Definition at line 1333 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_MAXSPEED.

SUMOReal TraCIAPI::VehicleTypeScope::getMinGap ( const std::string &  typeID) const

Definition at line 1383 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_MINGAP.

std::string TraCIAPI::VehicleTypeScope::getShapeClass ( const std::string &  typeID) const

Definition at line 1378 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_SHAPECLASS.

SUMOReal TraCIAPI::VehicleTypeScope::getSpeedDeviation ( const std::string &  typeID) const

Definition at line 1343 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_SPEED_DEVIATION.

SUMOReal TraCIAPI::VehicleTypeScope::getSpeedFactor ( const std::string &  typeID) const

Definition at line 1338 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_SPEED_FACTOR.

SUMOReal TraCIAPI::VehicleTypeScope::getTau ( const std::string &  typeID) const

Definition at line 1363 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_TAU.

std::string TraCIAPI::VehicleTypeScope::getVehicleClass ( const std::string &  typeID) const

Definition at line 1368 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_VEHICLECLASS.

SUMOReal TraCIAPI::VehicleTypeScope::getWidth ( const std::string &  typeID) const

Definition at line 1388 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_WIDTH.

VehicleTypeScope& TraCIAPI::VehicleTypeScope::operator= ( const VehicleTypeScope src)
private

invalidated assignment operator

void TraCIAPI::VehicleTypeScope::setAccel ( const std::string &  typeID,
SUMOReal  accel 
) const
void TraCIAPI::VehicleTypeScope::setColor ( const std::string &  typeID,
const TraCIColor c 
) const
void TraCIAPI::VehicleTypeScope::setDecel ( const std::string &  typeID,
SUMOReal  decel 
) const
void TraCIAPI::VehicleTypeScope::setEmissionClass ( const std::string &  typeID,
const std::string &  clazz 
) const
void TraCIAPI::VehicleTypeScope::setImperfection ( const std::string &  typeID,
SUMOReal  imperfection 
) const
void TraCIAPI::VehicleTypeScope::setLength ( const std::string &  typeID,
SUMOReal  length 
) const
void TraCIAPI::VehicleTypeScope::setMaxSpeed ( const std::string &  typeID,
SUMOReal  speed 
) const
void TraCIAPI::VehicleTypeScope::setMinGap ( const std::string &  typeID,
SUMOReal  minGap 
) const
void TraCIAPI::VehicleTypeScope::setShapeClass ( const std::string &  typeID,
const std::string &  clazz 
) const
void TraCIAPI::VehicleTypeScope::setSpeedDeviation ( const std::string &  typeID,
SUMOReal  deviation 
) const
void TraCIAPI::VehicleTypeScope::setSpeedFactor ( const std::string &  typeID,
SUMOReal  factor 
) const
void TraCIAPI::VehicleTypeScope::setTau ( const std::string &  typeID,
SUMOReal  tau 
) const
void TraCIAPI::VehicleTypeScope::setVehicleClass ( const std::string &  typeID,
const std::string &  clazz 
) const
void TraCIAPI::VehicleTypeScope::setWidth ( const std::string &  typeID,
SUMOReal  width 
) const

Field Documentation

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 188 of file TraCIAPI.h.

Referenced by TraCIAPI::EdgeScope::getIDList().


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