SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSAmitranTrajectories.h
Go to the documentation of this file.
1 /****************************************************************************/
7 // Realises dumping the complete network state
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
10 // Copyright (C) 2014-2014 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef MSAmitranTrajectories_h
21 #define MSAmitranTrajectories_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <utils/common/SUMOTime.h>
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 class OutputDevice;
40 class MSVehicleControl;
41 class MSEdge;
42 class MSBaseVehicle;
43 class MSLane;
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
59 public:
69  static void write(OutputDevice& of, const SUMOTime timestep);
70 
71 
72 private:
80  static void writeVehicle(OutputDevice& of, const SUMOVehicle& veh, const SUMOTime timestep);
81 
82 
83 private:
84  static std::set<std::string> myWrittenTypes;
85  static std::map<std::string, int> myWrittenVehicles;
86 
87 
88 private:
91 
94 
95 
96 };
97 
98 
99 #endif
100 
101 /****************************************************************************/
102 
static std::map< std::string, int > myWrittenVehicles
MSAmitranTrajectories & operator=(const MSAmitranTrajectories &)
Invalidated assignment operator.
The base class for microscopic and mesoscopic vehicles.
Definition: MSBaseVehicle.h:58
Realises dumping the complete network state.
A road/street connecting two junctions.
Definition: MSEdge.h:74
Representation of a vehicle.
Definition: SUMOVehicle.h:64
static std::set< std::string > myWrittenTypes
MSAmitranTrajectories(const MSAmitranTrajectories &)
Invalidated copy constructor.
static void writeVehicle(OutputDevice &of, const SUMOVehicle &veh, const SUMOTime timestep)
Writes the dump of the given vehicle into the given device.
static void write(OutputDevice &of, const SUMOTime timestep)
Writes the complete network state into the given device.
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:71
The class responsible for building and deletion of vehicles.
Representation of a lane in the micro simulation.
Definition: MSLane.h:77