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 /****************************************************************************/
15 // Realises dumping Floating Car Data (FCD) Data
16 /****************************************************************************/
17 #ifndef MSFCDExport_h
18 #define MSFCDExport_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 // ===========================================================================
50 class MSFCDExport {
51 public:
61  static void write(OutputDevice& of, SUMOTime timestep, bool elevation);
62 
63 private:
65  static void writeTransportable(OutputDevice& of, const MSEdge* e, MSTransportable* p, SumoXMLTag tag, bool useGeo, bool elevation);
66 
67 private:
69  MSFCDExport(const MSFCDExport&);
70 
73 
74 
75 };
76 
77 
78 #endif
79 
80 /****************************************************************************/
81 
82 
SUMOTime.h
MSLane
Representation of a lane in the micro simulation.
Definition: MSLane.h:83
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:64
MSFCDExport::operator=
MSFCDExport & operator=(const MSFCDExport &)
Invalidated assignment operator.
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:35
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:50
MSTransportable
Definition: MSTransportable.h:59
SumoXMLTag
SumoXMLTag
Numbers representing SUMO-XML - element names.
Definition: SUMOXMLDefinitions.h:42
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:76
MSFCDExport
Realises dumping FCD Data.
Definition: MSFCDExport.h:50
MSFCDExport::MSFCDExport
MSFCDExport(const MSFCDExport &)
Invalidated copy constructor.
config.h
MSEdgeControl
Stores edges and lanes, performs moving of vehicle.
Definition: MSEdgeControl.h:73