A handler which converts occurring elements and attributes into enums.
Encapsulated SAX-Attributes.
EngineXMLAttr
Numbers representing engine-XML - attributes.
@ ENGINE_ATTR_WHEELS_DIAMETER
@ ENGINE_ATTR_ENGINE_MINRPM
@ ENGINE_ATTR_ENGINE_TYPE
@ ENGINE_ATTR_ENGINE_TAU_EX
@ ENGINE_ATTR_MASS_FACTOR
@ ENGINE_ATTR_ENGINE_EFFICIENCY
@ ENGINE_ATTR_SHIFTING_RPM
@ ENGINE_ATTR_ENGINE_POWER_INTERCEPT
@ ENGINE_ATTR_SHIFTING_DELTARPM
@ ENGINE_ATTR_DRAG_SECTION
@ ENGINE_ATTR_WHEELS_FRICTION
@ ENGINE_ATTR_ENGINE_POWER_RPM
@ ENGINE_ATTR_ENGINE_POWER_KW
@ ENGINE_ATTR_ENGINE_TAU_BURN
@ ENGINE_ATTR_ENGINE_MAXRPM
@ ENGINE_ATTR_ENGINE_CYLINDERS
@ ENGINE_ATTR_ENGINE_POWER_HP
@ ENGINE_ATTR_ENGINE_POWER_SLOPE
const EngineParameters & getEngineParameters()
virtual ~VehicleEngineHandler()
Destructor.
std::vector< double > gearRatios
void loadEngineModelData(const XERCES_CPP_NAMESPACE::Attributes &attrs)
EngineParameters engineParameters
const VehicleEngineHandler & operator=(const VehicleEngineHandler &s)
invalidated assignment operator
void myEndElement(int element)
Called when a closing tag occurs.
EngineXMLTag
Numbers representing engine-XML - element names.
@ ENGINE_TAG_GEAR_DIFFERENTIAL
@ ENGINE_TAG_ENGINE_POWER
static SequentialStringBijection::Entry engineAttrs[]
The names of engine-XML attributes (for passing to GenericSAXHandler)
static SequentialStringBijection::Entry engineTags[]
The names of engine-XML elements (for passing to GenericSAXHandler)
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
std::string vehicleToLoad
VehicleEngineHandler(const VehicleEngineHandler &s)
invalidated copy constructor