SUMO - Simulation of Urban MObility

MSXMLRawOut.h

Go to the documentation of this file.
00001 /****************************************************************************/
00011 // Realises dumping the complete network state
00012 /****************************************************************************/
00013 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00014 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00015 /****************************************************************************/
00016 //
00017 //   This file is part of SUMO.
00018 //   SUMO is free software: you can redistribute it and/or modify
00019 //   it under the terms of the GNU General Public License as published by
00020 //   the Free Software Foundation, either version 3 of the License, or
00021 //   (at your option) any later version.
00022 //
00023 /****************************************************************************/
00024 #ifndef MSXMLRawOut_h
00025 #define MSXMLRawOut_h
00026 
00027 
00028 // ===========================================================================
00029 // included modules
00030 // ===========================================================================
00031 #ifdef _MSC_VER
00032 #include <windows_config.h>
00033 #else
00034 #include <config.h>
00035 #endif
00036 
00037 #include <utils/common/SUMOTime.h>
00038 
00039 
00040 // ===========================================================================
00041 // class declarations
00042 // ===========================================================================
00043 class OutputDevice;
00044 class MSEdgeControl;
00045 class MSEdge;
00046 class MSLane;
00047 
00048 
00049 // ===========================================================================
00050 // class definitions
00051 // ===========================================================================
00061 class MSXMLRawOut {
00062 public:
00073     static void write(OutputDevice& of, const MSEdgeControl& ec,
00074                       SUMOTime timestep);
00075 
00076 
00083     static void writeVehicle(OutputDevice& of, const MSBaseVehicle& veh);
00084 
00085 
00086 private:
00097     static void writeEdge(OutputDevice& of, const MSEdge& edge);
00098 
00099 
00109     static void writeLane(OutputDevice& of, const MSLane& lane);
00110 
00111 
00112 private:
00114     MSXMLRawOut(const MSXMLRawOut&);
00115 
00117     MSXMLRawOut& operator=(const MSXMLRawOut&);
00118 
00119 
00120 };
00121 
00122 
00123 #endif
00124 
00125 /****************************************************************************/
00126 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines