22 #ifndef SUMOVTypeParameter_h
23 #define SUMOVTypeParameter_h
const int VTYPEPARS_MAXSPEED_SET
const int VTYPEPARS_MINGAP_SET
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLTag cfModel
The enum-representation of the car-following model to use.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
SUMOVehicleShape shape
This class' shape.
Structure representing possible vehicle parameter.
bool saved
Information whether this type was already saved (needed by routers)
SUMOReal speedDev
The standard deviation for speed variations.
SUMOReal length
The physical vehicle length.
SUMOVehicleClass vehicleClass
The vehicle's class.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
SUMOReal width
This class' width.
const int VTYPEPARS_OSGFILE_SET
const int VTYPEPARS_PROBABILITY_SET
SUMOEmissionClass
Definition of vehicle emission classes.
SUMOReal speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...
std::string osgFile
3D model file for this class
std::string imgFile
Image file for this class.
SUMOVTypeParameter()
Constructor.
const int VTYPEPARS_SPEEDDEVIATION_SET
An upper class for objects with additional parameters.
bool onlyReferenced
Information whether this is a type-stub, being only referenced but not defined (needed by routers) ...
const int VTYPEPARS_SPEEDFACTOR_SET
void write(OutputDevice &dev) const
Writes the vtype.
SUMOReal maxSpeed
The vehicle type's maximum speed [m/s].
int setParameter
Information for the router which parameter were set.
SUMOReal impatience
The vehicle's impatience (willingness to obstruct others)
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
bool wasSet(int what) const
Returns whether the given parameter was set.
SUMOReal defaultProbability
The probability when being added to a distribution without an explicit probability.
const int VTYPEPARS_IMGFILE_SET
A storage for options typed value containers)
std::map< SumoXMLAttr, SUMOReal > CFParams
Car-following parameter.
std::string id
The vehicle type's id.
const int VTYPEPARS_LCM_SET
const int VTYPEPARS_HEIGHT_SET
Static storage of an output device and its base (abstract) implementation.
void validateCFParameter() const
Validates stored car-following parameter.
const int VTYPEPARS_WIDTH_SET
LaneChangeModel lcModel
The lane-change model to use.
SUMOReal height
This class' height.
const int VTYPEPARS_LENGTH_SET
const int VTYPEPARS_VEHICLECLASS_SET
const int VTYPEPARS_EMISSIONCLASS_SET
const int VTYPEPARS_COLOR_SET
const int VTYPEPARS_SHAPE_SET
SUMOEmissionClass emissionClass
The emission class of this vehicle.
const int VTYPEPARS_IMPATIENCE_SET
SUMOReal minGap
This class' free space in front of the vehicle itself.