Eclipse 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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
14 // Realises dumping the complete network state
15 /****************************************************************************/
16 #ifndef MSAmitranTrajectories_h
17 #define MSAmitranTrajectories_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <utils/common/SUMOTime.h>
26 
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
31 class OutputDevice;
32 class MSVehicleControl;
33 class MSEdge;
34 class MSBaseVehicle;
35 class MSLane;
36 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
51 public:
61  static void write(OutputDevice& of, const SUMOTime timestep);
62 
63 
64 private:
72  static void writeVehicle(OutputDevice& of, const SUMOVehicle& veh, const SUMOTime timestep);
73 
74 
75 private:
76  static std::set<std::string> myWrittenTypes;
77  static std::map<std::string, int> myWrittenVehicles;
78 
79 
80 private:
83 
86 
87 
88 };
89 
90 
91 #endif
92 
93 /****************************************************************************/
94 
MSAmitranTrajectories::myWrittenVehicles
static std::map< std::string, int > myWrittenVehicles
Definition: MSAmitranTrajectories.h:77
SUMOTime.h
MSLane
Representation of a lane in the micro simulation.
Definition: MSLane.h:82
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:63
MSAmitranTrajectories::operator=
MSAmitranTrajectories & operator=(const MSAmitranTrajectories &)
Invalidated assignment operator.
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:34
SUMOVehicle
Representation of a vehicle.
Definition: SUMOVehicle.h:60
MSAmitranTrajectories::MSAmitranTrajectories
MSAmitranTrajectories(const MSAmitranTrajectories &)
Invalidated copy constructor.
MSEdge
A road/street connecting two junctions.
Definition: MSEdge.h:78
MSAmitranTrajectories::myWrittenTypes
static std::set< std::string > myWrittenTypes
Definition: MSAmitranTrajectories.h:76
MSAmitranTrajectories::writeVehicle
static void writeVehicle(OutputDevice &of, const SUMOVehicle &veh, const SUMOTime timestep)
Writes the dump of the given vehicle into the given device.
Definition: MSAmitranTrajectories.cpp:53
MSBaseVehicle
The base class for microscopic and mesoscopic vehicles.
Definition: MSBaseVehicle.h:51
config.h
MSVehicleControl
The class responsible for building and deletion of vehicles.
Definition: MSVehicleControl.h:71
MSAmitranTrajectories::write
static void write(OutputDevice &of, const SUMOTime timestep)
Writes the complete network state into the given device.
Definition: MSAmitranTrajectories.cpp:44
MSAmitranTrajectories
Realises dumping the complete network state.
Definition: MSAmitranTrajectories.h:50