SUMO - Simulation of Urban MObility
MSAmitranTrajectories.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2014-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
17 // Realises dumping the complete network state
18 /****************************************************************************/
19 #ifndef MSAmitranTrajectories_h
20 #define MSAmitranTrajectories_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include <utils/common/SUMOTime.h>
33 
34 
35 // ===========================================================================
36 // class declarations
37 // ===========================================================================
38 class OutputDevice;
39 class MSVehicleControl;
40 class MSEdge;
41 class MSBaseVehicle;
42 class MSLane;
43 
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
58 public:
68  static void write(OutputDevice& of, const SUMOTime timestep);
69 
70 
71 private:
79  static void writeVehicle(OutputDevice& of, const SUMOVehicle& veh, const SUMOTime timestep);
80 
81 
82 private:
83  static std::set<std::string> myWrittenTypes;
84  static std::map<std::string, int> myWrittenVehicles;
85 
86 
87 private:
90 
93 
94 
95 };
96 
97 
98 #endif
99 
100 /****************************************************************************/
101 
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:55
Realises dumping the complete network state.
A road/street connecting two junctions.
Definition: MSEdge.h:80
Representation of a vehicle.
Definition: SUMOVehicle.h:66
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:70
long long int SUMOTime
Definition: TraCIDefs.h:51
The class responsible for building and deletion of vehicles.
Representation of a lane in the micro simulation.
Definition: MSLane.h:77