22 #ifndef MSRouteHandler_h
23 #define MSRouteHandler_h
64 bool addVehiclesDirectly);
108 void closeRoute(
const bool mayBeDisconnected =
false);
void addStop(const SUMOSAXAttributes &attrs)
Processing of a stop.
MSRouteHandler(const std::string &file, bool addVehiclesDirectly)
standard constructor
RandomDistributor< const MSRoute * > * myCurrentRouteDistribution
The currently parsed distribution of routes (probability->route)
MSPerson::MSPersonPlan * myActivePlan
The plan of the current person.
void closeVehicle()
Ends the processing of a vehicle.
bool myAddVehiclesDirectly
Information whether vehicles shall be directly added to the network or kept within the buffer...
void closePerson()
Ends the processing of a person.
void openRoute(const SUMOSAXAttributes &attrs)
MSEdgeVector myActiveRoute
The current route.
The car-following model and parameter.
A road/street connecting two junctions.
RandomDistributor< MSVehicleType * > * myCurrentVTypeDistribution
The currently parsed distribution of vehicle types (probability->vehicle type)
void closeRouteDistribution()
Encapsulated SAX-Attributes.
std::vector< const MSEdge * > MSEdgeVector
void closeVehicleTypeDistribution()
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Parser for routes during their loading.
std::string myCurrentRouteDistributionID
The id of the currently parsed route distribution.
void openRouteDistribution(const SUMOSAXAttributes &attrs)
virtual void myEndElement(int element)
Called when a closing tag occurs.
std::string myCurrentVTypeDistributionID
The id of the currently parsed vehicle type distribution.
MSRouteHandler & operator=(const MSRouteHandler &s)
Invalidated assignment operator.
virtual ~MSRouteHandler()
standard destructor
void openVehicleTypeDistribution(const SUMOSAXAttributes &attrs)
std::vector< MSPersonStage * > MSPersonPlan
the structure holding the plan of a person
void closeRoute(const bool mayBeDisconnected=false)
Parser and container for routes during their loading.
void closeFlow()
Ends the processing of a flow.