19 #ifndef MSStateHandler_h 20 #define MSStateHandler_h void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Parameterised * myLastParameterised
the last object that potentially carries parameters
Parser and output filter for routes and vehicles state saving and loading.
void closeVehicle()
Ends the processing of a vehicle.
std::pair< int, int > myEdgeAndLane
MSStateHandler(const std::string &file, const SUMOTime offset)
standard constructor
Encapsulated SAX-Attributes.
MSStateHandler & operator=(const MSStateHandler &s)
Invalidated assignment operator.
SUMOSAXAttributes * myAttrs
cached attrs (used when loading vehicles)
An upper class for objects with additional parameters.
virtual ~MSStateHandler()
standard destructor
A single mesoscopic segment (cell)
void myEndElement(int element)
Called when a closing tag occurs.
std::vector< SUMOSAXAttributes * > myDeviceAttrs
cached device attrs (used when loading vehicles)
std::set< std::string > myVehiclesToRemove
vehicles that shall be removed when loading state
Static storage of an output device and its base (abstract) implementation.
static void saveRNGs(OutputDevice &out)
save the state of random number generators
Parser and container for routes during their loading.
static void saveState(const std::string &file, SUMOTime step)
Saves the current state.