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 MSBaseVehicle;
00047 class MSLane;
00048 
00049 
00050 // ===========================================================================
00051 // class definitions
00052 // ===========================================================================
00062 class MSXMLRawOut {
00063 public:
00074     static void write(OutputDevice& of, const MSEdgeControl& ec,
00075                       SUMOTime timestep);
00076 
00077 
00084     static void writeVehicle(OutputDevice& of, const MSBaseVehicle& veh);
00085 
00086 
00087 private:
00098     static void writeEdge(OutputDevice& of, const MSEdge& edge);
00099 
00100 
00110     static void writeLane(OutputDevice& of, const MSLane& lane);
00111 
00112 
00113 private:
00115     MSXMLRawOut(const MSXMLRawOut&);
00116 
00118     MSXMLRawOut& operator=(const MSXMLRawOut&);
00119 
00120 
00121 };
00122 
00123 
00124 #endif
00125 
00126 /****************************************************************************/
00127 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines