SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSXMLRawOut.h
Go to the documentation of this file.
1 /****************************************************************************/
11 // Realises dumping the complete network state
12 /****************************************************************************/
13 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
14 // Copyright (C) 2001-2014 DLR (http://www.dlr.de/) and contributors
15 /****************************************************************************/
16 //
17 // This file is part of SUMO.
18 // SUMO is free software: you can redistribute it and/or modify
19 // it under the terms of the GNU General Public License as published by
20 // the Free Software Foundation, either version 3 of the License, or
21 // (at your option) any later version.
22 //
23 /****************************************************************************/
24 #ifndef MSXMLRawOut_h
25 #define MSXMLRawOut_h
26 
27 
28 // ===========================================================================
29 // included modules
30 // ===========================================================================
31 #ifdef _MSC_VER
32 #include <windows_config.h>
33 #else
34 #include <config.h>
35 #endif
36 
37 #include <utils/common/SUMOTime.h>
38 
39 
40 // ===========================================================================
41 // class declarations
42 // ===========================================================================
43 class OutputDevice;
44 class MSEdgeControl;
45 class MSEdge;
46 class MSBaseVehicle;
47 class MSLane;
48 
49 
50 // ===========================================================================
51 // class definitions
52 // ===========================================================================
62 class MSXMLRawOut {
63 public:
74  static void write(OutputDevice& of, const MSEdgeControl& ec,
75  SUMOTime timestep);
76 
77 
84  static void writeVehicle(OutputDevice& of, const MSBaseVehicle& veh);
85 
86 
87 private:
98  static void writeEdge(OutputDevice& of, const MSEdge& edge, SUMOTime timestep);
99 
100 
110  static void writeLane(OutputDevice& of, const MSLane& lane);
111 
112 
113 private:
115  MSXMLRawOut(const MSXMLRawOut&);
116 
119 
120 
121 };
122 
123 
124 #endif
125 
126 /****************************************************************************/
127 
Realises dumping the complete network state.
Definition: MSXMLRawOut.h:62
The base class for microscopic and mesoscopic vehicles.
Definition: MSBaseVehicle.h:58
A road/street connecting two junctions.
Definition: MSEdge.h:74
static void writeLane(OutputDevice &of, const MSLane &lane)
Writes the dump of the given lane into the given device.
Stores edges and lanes, performs moving of vehicle.
Definition: MSEdgeControl.h:73
MSXMLRawOut(const MSXMLRawOut &)
Invalidated copy constructor.
static void writeEdge(OutputDevice &of, const MSEdge &edge, SUMOTime timestep)
Writes the dump of the given edge into the given device.
Definition: MSXMLRawOut.cpp:71
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:71
static void writeVehicle(OutputDevice &of, const MSBaseVehicle &veh)
Writes the dump of the given vehicle into the given device.
Representation of a lane in the micro simulation.
Definition: MSLane.h:77
MSXMLRawOut & operator=(const MSXMLRawOut &)
Invalidated assignment operator.
static void write(OutputDevice &of, const MSEdgeControl &ec, SUMOTime timestep)
Writes the complete network state of the given edges into the given device.
Definition: MSXMLRawOut.cpp:59