Eclipse 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-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 /****************************************************************************/
14 // Realises dumping Floating Car Data (FCD) Data
15 /****************************************************************************/
16 #ifndef MSFCDExport_h
17 #define MSFCDExport_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <utils/common/SUMOTime.h>
26 
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
31 class OutputDevice;
32 class MSEdgeControl;
33 class MSEdge;
34 class MSLane;
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
49 class MSFCDExport {
50 public:
60  static void write(OutputDevice& of, SUMOTime timestep, bool elevation);
61 
62 private:
64  static void writeTransportable(OutputDevice& of, const MSEdge* e, MSTransportable* p, SumoXMLTag tag, bool useGeo, bool elevation);
65 
66 private:
69 
72 
73 
74 };
75 
76 
77 #endif
78 
79 /****************************************************************************/
80 
81 
SUMOTime.h
MSLane
Representation of a lane in the micro simulation.
Definition: MSLane.h:82
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:63
MSFCDExport::operator=
MSFCDExport & operator=(const MSFCDExport &)
Invalidated assignment operator.
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:34
MSFCDExport::write
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:49
MSTransportable
Definition: MSTransportable.h:58
SumoXMLTag
SumoXMLTag
Numbers representing SUMO-XML - element names.
Definition: SUMOXMLDefinitions.h:41
MSFCDExport::writeTransportable
static void writeTransportable(OutputDevice &of, const MSEdge *e, MSTransportable *p, SumoXMLTag tag, bool useGeo, bool elevation)
write transportable
Definition: MSFCDExport.cpp:151
MSEdge
A road/street connecting two junctions.
Definition: MSEdge.h:78
MSFCDExport
Realises dumping FCD Data.
Definition: MSFCDExport.h:49
MSFCDExport::MSFCDExport
MSFCDExport(const MSFCDExport &)
Invalidated copy constructor.
config.h
MSEdgeControl
Stores edges and lanes, performs moving of vehicle.
Definition: MSEdgeControl.h:74