![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for default values that depend of VClass More...
#include <SUMOVTypeParameter.h>
Public Member Functions | |
VClassDefaultValues (SUMOVehicleClass vClass) | |
parameter constructor More... | |
Data Fields | |
double | carriageLength |
the length of train carriages More... | |
int | containerCapacity |
The container capacity of the vehicle. More... | |
SUMOEmissionClass | emissionClass |
The emission class of this vehicle. More... | |
double | height |
This class' height. More... | |
double | length |
The physical vehicle length. More... | |
double | locomotiveLength |
the length of train locomotive More... | |
double | maxSpeed |
The vehicle type's maximum speed [m/s]. More... | |
double | minGap |
This class' free space in front of the vehicle itself. More... | |
std::string | osgFile |
3D model file for this class More... | |
int | personCapacity |
The person capacity of the vehicle. More... | |
SUMOVehicleShape | shape |
This class' shape. More... | |
Distribution_Parameterized | speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street. More... | |
double | width |
This class' width. More... | |
Private Member Functions | |
VClassDefaultValues () | |
default constructor More... | |
struct for default values that depend of VClass
Definition at line 89 of file SUMOVTypeParameter.h.
SUMOVTypeParameter::VClassDefaultValues::VClassDefaultValues | ( | SUMOVehicleClass | vClass | ) |
parameter constructor
Definition at line 42 of file SUMOVTypeParameter.cpp.
References carriageLength, containerCapacity, DEFAULT_PEDESTRIAN_SPEED, emissionClass, EMPREFIX, PollutantsInterface::getClassByName(), Distribution_Parameterized::getParameter(), height, length, locomotiveLength, maxSpeed, minGap, osgFile, personCapacity, shape, speedFactor, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_CUSTOM1, SVC_CUSTOM2, SVC_DELIVERY, SVC_E_VEHICLE, SVC_EMERGENCY, SVC_HOV, SVC_MOPED, SVC_MOTORCYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_PRIVATE, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TAXI, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, SVC_VIP, SVS_BICYCLE, SVS_BUS, SVS_BUS_COACH, SVS_DELIVERY, SVS_E_VEHICLE, SVS_MOPED, SVS_MOTORCYCLE, SVS_PASSENGER, SVS_PEDESTRIAN, SVS_RAIL, SVS_RAIL_CAR, SVS_SHIP, SVS_TRUCK, SVS_TRUCK_1TRAILER, and width.
|
private |
default constructor
Definition at line 250 of file SUMOVTypeParameter.cpp.
double SUMOVTypeParameter::VClassDefaultValues::carriageLength |
the length of train carriages
Definition at line 127 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
int SUMOVTypeParameter::VClassDefaultValues::containerCapacity |
The container capacity of the vehicle.
Definition at line 121 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
SUMOEmissionClass SUMOVTypeParameter::VClassDefaultValues::emissionClass |
The emission class of this vehicle.
Definition at line 112 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::height |
This class' height.
Definition at line 106 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::length |
The physical vehicle length.
Definition at line 94 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::locomotiveLength |
the length of train locomotive
Definition at line 130 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::maxSpeed |
The vehicle type's maximum speed [m/s].
Definition at line 100 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::getAttributeDouble(), GUIViewTraffic::onCmdShowReachability(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::minGap |
This class' free space in front of the vehicle itself.
Definition at line 97 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
std::string SUMOVTypeParameter::VClassDefaultValues::osgFile |
3D model file for this class
Definition at line 124 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
int SUMOVTypeParameter::VClassDefaultValues::personCapacity |
The person capacity of the vehicle.
Definition at line 118 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
SUMOVehicleShape SUMOVTypeParameter::VClassDefaultValues::shape |
This class' shape.
Definition at line 109 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
Distribution_Parameterized SUMOVTypeParameter::VClassDefaultValues::speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street.
Definition at line 115 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().
double SUMOVTypeParameter::VClassDefaultValues::width |
This class' width.
Definition at line 103 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleType::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEVehicleType::setAttribute(), SUMOVTypeParameter::SUMOVTypeParameter(), GNEVehicleType::updateDefaultVClassAttributes(), and VClassDefaultValues().