Eclipse SUMO - Simulation of Urban MObility
NIXMLShapeHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-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 // Importer for static public transport information
16 /****************************************************************************/
17 #ifndef NIXMLShapeHandler_h
18 #define NIXMLShapeHandler_h
19 
20 #include <config.h>
21 
22 #include <string>
24 // ===========================================================================
25 // class declarations
26 // ===========================================================================
27 class NBEdgeCont;
28 class Position;
29 
30 // ===========================================================================
31 // class definitions
32 // ===========================================================================
33 
41 public:
43 
45  virtual ~NIXMLShapeHandler() {}
46 
47  Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double lanePosLat);
48 
49  virtual bool addLanePosParams() {
50  return true;
51  }
52 
54 };
55 #endif
56 
57 /****************************************************************************/
virtual ~NIXMLShapeHandler()
Destructor.
NIXMLShapeHandler(ShapeContainer &sc, const NBEdgeCont &ec)
const NBEdgeCont & myEdgeCont
Storage for geometrical objects.
The XML-Handler for network loading.
Definition: ShapeHandler.h:50
Position getLanePos(const std::string &poiID, const std::string &laneID, double lanePos, double lanePosLat)
get position for a given laneID (Has to be implemented in all child)
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:39
Storage for edges, including some functionality operating on multiple edges.
Definition: NBEdgeCont.h:61
virtual bool addLanePosParams()
Whether some input attributes shall be automatically added as params (Can be implemented in all child...