SUMO - Simulation of Urban MObility
MSNoLogicJunction.h
Go to the documentation of this file.
1 /****************************************************************************/
10 // logic, e.g. for exits.
11 /****************************************************************************/
12 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
14 /****************************************************************************/
15 //
16 // This file is part of SUMO.
17 // SUMO is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 /****************************************************************************/
23 #ifndef MSNoLogicJunction_h
24 #define MSNoLogicJunction_h
25 
26 
27 // ===========================================================================
28 // included modules
29 // ===========================================================================
30 #ifdef _MSC_VER
31 #include <windows_config.h>
32 #else
33 #include <config.h>
34 #endif
35 
36 #include <string>
37 #include <vector>
38 #include <bitset>
39 #include "MSJunction.h"
40 
41 // ===========================================================================
42 // class declarations
43 // ===========================================================================
44 class MSLane;
45 
46 
47 // ===========================================================================
48 // class definitions
49 // ===========================================================================
56 class MSNoLogicJunction : public MSJunction {
57 public:
59  virtual ~MSNoLogicJunction();
60 
68  MSNoLogicJunction(const std::string& id, SumoXMLNodeType type, const Position& position,
69  const PositionVector& shape,
70  std::vector<MSLane*> incoming
72  , std::vector<MSLane*> internal
73 #endif
74  );
75 
77  void postloadInit();
78 
79 private:
81  std::vector<MSLane*> myIncomingLanes;
82 
83 #ifdef HAVE_INTERNAL_LANES
84 
85  std::vector<MSLane*> myInternalLanes;
86 #endif
87 
88 private:
91 
94 
95 };
96 
97 
98 #endif
99 
100 /****************************************************************************/
101 
std::vector< MSLane * > myIncomingLanes
The base class for an intersection.
Definition: MSJunction.h:61
virtual ~MSNoLogicJunction()
Destructor.
MSNoLogicJunction & operator=(const MSNoLogicJunction &)
Invalidated assignment operator.
MSNoLogicJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape, std::vector< MSLane * > incoming)
Constructor.
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:46
A list of positions.
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
#define HAVE_INTERNAL_LANES
Definition: config.h:50
Representation of a lane in the micro simulation.
Definition: MSLane.h:77