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-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 // Export the queueing length in front of a junction (very experimental!)
18 /****************************************************************************/
19 #ifndef MSQueueExport_h
20 #define MSQueueExport_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 MSEdgeControl;
40 class MSEdge;
41 class MSLane;
42 
43 
44 // ===========================================================================
45 // class definitions
46 // ===========================================================================
57 public:
66  static void write(OutputDevice& of, SUMOTime timestep);
67 
68 
69 private:
72 
75 
77  static void writeEdge(OutputDevice& of);
78 
80  static void writeLane(OutputDevice& of, const MSLane& lane);
81 
82 };
83 
84 
85 
86 #endif
87 
88 /****************************************************************************/
89 
static void writeEdge(OutputDevice &of)
Iterates through all the edges and extract the lanes.
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:80
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:56
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:70
long long int SUMOTime
Definition: TraCIDefs.h:51
Representation of a lane in the micro simulation.
Definition: MSLane.h:77