![]() |
Eclipse SUMO - Simulation of Urban MObility
|
edgeType definition More...
#include <NBTypeCont.h>
Public Member Functions | |
| EdgeTypeDefinition () | |
| Constructor. More... | |
| EdgeTypeDefinition (const EdgeTypeDefinition *edgeType) | |
| copy constructor More... | |
| EdgeTypeDefinition (int numLanes, double speed, int priority, double width, SVCPermissions permissions, bool oneWay, double sideWalkWidth, double bikeLaneWidth, double widthResolution, double maxWidth, double minWidth) | |
| parameter Constructor More... | |
| bool | needsLaneType () const |
| whether any lane attributes deviate from the edge attributes More... | |
Data Fields | |
| std::set< SumoXMLAttr > | attrs |
| The attributes which have been set. More... | |
| double | bikeLaneWidth |
| bool | discard |
| Whether edges of this edgeType shall be discarded. More... | |
| std::vector< LaneTypeDefinition > | laneTypeDefinitions |
| vector with LaneTypeDefinitions More... | |
| double | maxWidth |
| The maximum width for lanes of this edgeType [m]. More... | |
| double | minWidth |
| The minimum width for lanes of this edgeType [m]. More... | |
| bool | oneWay |
| Whether one-way traffic is mostly common for this edgeType (mostly unused) More... | |
| SVCPermissions | permissions |
| List of vehicle edgeTypes that are allowed on this edge. More... | |
| int | priority |
| The priority of an edge. More... | |
| std::map< SUMOVehicleClass, double > | restrictions |
| The vehicle class specific speed restrictions. More... | |
| double | sidewalkWidth |
| double | speed |
| The maximal velocity on an edge in m/s. More... | |
| double | width |
| The width of lanes of edges of this edgeType [m]. More... | |
| double | widthResolution |
| The resolution for interpreting custom (noisy) lane widths of this edgeType [m]. More... | |
edgeType definition
Definition at line 80 of file NBTypeCont.h.
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | ) |
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | const EdgeTypeDefinition * | edgeType | ) |
copy constructor
Definition at line 75 of file NBTypeCont.cpp.
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | int | numLanes, |
| double | speed, | ||
| int | priority, | ||
| double | width, | ||
| SVCPermissions | permissions, | ||
| bool | oneWay, | ||
| double | sideWalkWidth, | ||
| double | bikeLaneWidth, | ||
| double | widthResolution, | ||
| double | maxWidth, | ||
| double | minWidth | ||
| ) |
| bool NBTypeCont::EdgeTypeDefinition::needsLaneType | ( | ) | const |
whether any lane attributes deviate from the edge attributes
Definition at line 109 of file NBTypeCont.cpp.
References SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_WIDTH.
| std::set<SumoXMLAttr> NBTypeCont::EdgeTypeDefinition::attrs |
The attributes which have been set.
Definition at line 136 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::insertEdgeType(), GNEEdgeType::setAttribute(), and NBTypeCont::wasSetEdgeTypeAttribute().
| double NBTypeCont::EdgeTypeDefinition::bikeLaneWidth |
Definition at line 130 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeBikeLaneWidth().
| bool NBTypeCont::EdgeTypeDefinition::discard |
Whether edges of this edgeType shall be discarded.
Definition at line 110 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeShallBeDiscarded(), and GNEEdgeType::setAttribute().
| std::vector<LaneTypeDefinition> NBTypeCont::EdgeTypeDefinition::laneTypeDefinitions |
vector with LaneTypeDefinitions
Definition at line 139 of file NBTypeCont.h.
Referenced by EdgeTypeDefinition(), NBTypeCont::getEdgeTypeNumLanes(), NBTypeCont::insertLaneType(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::maxWidth |
The maximum width for lanes of this edgeType [m].
Definition at line 119 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeMaxWidth().
| double NBTypeCont::EdgeTypeDefinition::minWidth |
The minimum width for lanes of this edgeType [m].
Definition at line 122 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeMinWidth().
| bool NBTypeCont::EdgeTypeDefinition::oneWay |
Whether one-way traffic is mostly common for this edgeType (mostly unused)
Definition at line 107 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeIsOneWay().
| SVCPermissions NBTypeCont::EdgeTypeDefinition::permissions |
List of vehicle edgeTypes that are allowed on this edge.
Definition at line 104 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypePermissions(), NBTypeCont::insertLaneType(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| int NBTypeCont::EdgeTypeDefinition::priority |
The priority of an edge.
Definition at line 101 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypePriority(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| std::map<SUMOVehicleClass, double> NBTypeCont::EdgeTypeDefinition::restrictions |
The vehicle class specific speed restrictions.
Definition at line 133 of file NBTypeCont.h.
Referenced by NBTypeCont::insertEdgeType().
| double NBTypeCont::EdgeTypeDefinition::sidewalkWidth |
Definition at line 126 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeSidewalkWidth().
| double NBTypeCont::EdgeTypeDefinition::speed |
The maximal velocity on an edge in m/s.
Definition at line 98 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeSpeed(), NBTypeCont::insertLaneType(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::width |
The width of lanes of edges of this edgeType [m].
Definition at line 113 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeWidth(), NBTypeCont::insertLaneType(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::widthResolution |
The resolution for interpreting custom (noisy) lane widths of this edgeType [m].
Definition at line 116 of file NBTypeCont.h.
Referenced by NBTypeCont::getEdgeTypeWidthResolution().