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-2013 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);
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