Eclipse SUMO - Simulation of Urban MObility
MSQueueExport.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2012-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 /****************************************************************************/
15 // Export the queueing length in front of a junction (very experimental!)
16 /****************************************************************************/
17 #ifndef MSQueueExport_h
18 #define MSQueueExport_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <utils/common/SUMOTime.h>
27 
28 
29 // ===========================================================================
30 // class declarations
31 // ===========================================================================
32 class OutputDevice;
33 class MSEdgeControl;
34 class MSEdge;
35 class MSLane;
36 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
51 public:
60  static void write(OutputDevice& of, SUMOTime timestep);
61 
62 
63 private:
66 
69 
71  static void writeEdge(OutputDevice& of);
72 
74  static void writeLane(OutputDevice& of, const MSLane& lane);
75 
76 };
77 
78 
79 
80 #endif
81 
82 /****************************************************************************/
83 
static void writeEdge(OutputDevice &of)
Iterates through all the edges and extract the lanes.
long long int SUMOTime
Definition: SUMOTime.h:35
static void write(OutputDevice &of, SUMOTime timestep)
Export the queueing length in front of a junction (very experimental!)
MSQueueExport(const MSQueueExport &)
Invalidated copy constructor.
A road/street connecting two junctions.
Definition: MSEdge.h:76
static void writeLane(OutputDevice &of, const MSLane &lane)
Iterates through the lanes and check for available vehicle queues.
Export the queueing length in front of a junction (very experimental!)
Definition: MSQueueExport.h:50
Stores edges and lanes, performs moving of vehicle.
Definition: MSEdgeControl.h:73
MSQueueExport & operator=(const MSQueueExport &)
Invalidated assignment operator.
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:64
Representation of a lane in the micro simulation.
Definition: MSLane.h:83