SUMO - Simulation of Urban MObility
MSFCDExport.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 // Realises dumping Floating Car Data (FCD) Data
18 /****************************************************************************/
19 #ifndef MSFCDExport_h
20 #define MSFCDExport_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 // ===========================================================================
56 class MSFCDExport {
57 public:
67  static void write(OutputDevice& of, SUMOTime timestep, bool elevation);
68 
69 private:
71  static void writeTransportable(OutputDevice& of, const MSEdge* e, MSTransportable* p, SumoXMLTag tag, bool useGeo, bool elevation);
72 
73 private:
75  MSFCDExport(const MSFCDExport&);
76 
79 
80 
81 };
82 
83 
84 #endif
85 
86 /****************************************************************************/
87 
88 
SumoXMLTag
Numbers representing SUMO-XML - element names.
MSFCDExport & operator=(const MSFCDExport &)
Invalidated assignment operator.
static void writeTransportable(OutputDevice &of, const MSEdge *e, MSTransportable *p, SumoXMLTag tag, bool useGeo, bool elevation)
write transportable
static void write(OutputDevice &of, SUMOTime timestep, bool elevation)
Writes the position and the angle of each vehicle into the given device.
Definition: MSFCDExport.cpp:54
A road/street connecting two junctions.
Definition: MSEdge.h:80
Realises dumping FCD Data.
Definition: MSFCDExport.h:56
Stores edges and lanes, performs moving of vehicle.
Definition: MSEdgeControl.h:73
MSFCDExport(const MSFCDExport &)
Invalidated copy constructor.
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