Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSQueueExport.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2012-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// Export the queueing length in front of a junction (very experimental!)
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
24
25
26// ===========================================================================
27// class declarations
28// ===========================================================================
29class OutputDevice;
30class MSEdgeControl;
31class MSEdge;
32class MSLane;
33
34
35// ===========================================================================
36// class definitions
37// ===========================================================================
48public:
57 static void write(OutputDevice& of, SUMOTime timestep);
58
59
60private:
63
66
68 static void writeEdge(OutputDevice& of);
69
71 static void writeLane(OutputDevice& of, const MSLane& lane);
72
73};
long long int SUMOTime
Definition GUI.h:36
Stores edges and lanes, performs moving of vehicle.
A road/street connecting two junctions.
Definition MSEdge.h:77
Representation of a lane in the micro simulation.
Definition MSLane.h:84
Export the queueing length in front of a junction (very experimental!)
static void writeLane(OutputDevice &of, const MSLane &lane)
Iterates through the lanes and check for available vehicle queues.
static void write(OutputDevice &of, SUMOTime timestep)
Export the queueing length in front of a junction (very experimental!)
MSQueueExport(const MSQueueExport &)
Invalidated copy constructor.
static void writeEdge(OutputDevice &of)
Iterates through all the edges and extract the lanes.
MSQueueExport & operator=(const MSQueueExport &)
Invalidated assignment operator.
Static storage of an output device and its base (abstract) implementation.