SUMO - Simulation of Urban MObility
TraCIAPI::VehicleTypeScope Class Reference

Scope for interaction with vehicle types. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::VehicleTypeScope:
Inheritance graph
Collaboration diagram for TraCIAPI::VehicleTypeScope:
Collaboration graph

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 618 of file TraCIAPI.h.

Constructor & Destructor Documentation

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

Definition at line 620 of file TraCIAPI.h.

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

Definition at line 621 of file TraCIAPI.h.

References TraCIAPI::getColor(), and SUMOReal.

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 1458 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_ACCEL.

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

Definition at line 1503 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_COLOR.

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

Definition at line 1463 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_DECEL.

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

Definition at line 1483 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_EMISSIONCLASS.

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

Definition at line 1433 of file TraCIAPI.cpp.

References CMD_GET_VEHICLETYPE_VARIABLE, ID_LIST, and SUMOReal.

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

Definition at line 1468 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_IMPERFECTION.

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

Definition at line 1438 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_LENGTH.

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

Definition at line 1443 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_MAXSPEED.

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

Definition at line 1493 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_MINGAP.

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

Definition at line 1488 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_SHAPECLASS.

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

Definition at line 1453 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_SPEED_DEVIATION.

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

Definition at line 1448 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, SUMOReal, and VAR_SPEED_FACTOR.

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

Definition at line 1473 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 1478 of file TraCIAPI.cpp.

References CMD_GET_TL_VARIABLE, and VAR_VEHICLECLASS.

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

Definition at line 1498 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 192 of file TraCIAPI.h.


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