Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSAmitranTrajectories.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2014-2024 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
18// Realises dumping the complete network state
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
24
25
26// ===========================================================================
27// class declarations
28// ===========================================================================
29class OutputDevice;
31class MSEdge;
32class MSBaseVehicle;
33class MSLane;
34
35
36// ===========================================================================
37// class definitions
38// ===========================================================================
49public:
59 static void write(OutputDevice& of, const SUMOTime timestep);
60
61
62private:
70 static void writeVehicle(OutputDevice& of, const SUMOVehicle& veh, const SUMOTime timestep);
71
72
73private:
74 static std::set<std::string> myWrittenTypes;
75 static std::map<std::string, int> myWrittenVehicles;
76
77
78private:
81
84
85
86};
long long int SUMOTime
Definition GUI.h:36
Realises dumping the complete network state.
static std::map< std::string, int > myWrittenVehicles
static void write(OutputDevice &of, const SUMOTime timestep)
Writes the complete network state into the given device.
MSAmitranTrajectories & operator=(const MSAmitranTrajectories &)
Invalidated assignment operator.
MSAmitranTrajectories(const MSAmitranTrajectories &)
Invalidated copy constructor.
static std::set< std::string > myWrittenTypes
static void writeVehicle(OutputDevice &of, const SUMOVehicle &veh, const SUMOTime timestep)
Writes the dump of the given vehicle into the given device.
The base class for microscopic and mesoscopic vehicles.
A road/street connecting two junctions.
Definition MSEdge.h:77
Representation of a lane in the micro simulation.
Definition MSLane.h:84
The class responsible for building and deletion of vehicles.
Static storage of an output device and its base (abstract) implementation.
Representation of a vehicle.
Definition SUMOVehicle.h:62