![]() |
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, double friction, int priority, double width, SVCPermissions permissions, LaneSpreadFunction spreadType, 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... | |
| double | friction |
| The default friction on an edge. 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... | |
| LaneSpreadFunction | spreadType |
| lane spread type 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 93 of file NBTypeCont.h.
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | ) |
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | const EdgeTypeDefinition * | edgeType | ) |
copy constructor
Definition at line 97 of file NBTypeCont.cpp.
| NBTypeCont::EdgeTypeDefinition::EdgeTypeDefinition | ( | int | numLanes, |
| double | speed, | ||
| double | friction, | ||
| int | priority, | ||
| double | width, | ||
| SVCPermissions | permissions, | ||
| LaneSpreadFunction | spreadType, | ||
| bool | oneWay, | ||
| double | sideWalkWidth, | ||
| double | bikeLaneWidth, | ||
| double | widthResolution, | ||
| double | maxWidth, | ||
| double | minWidth | ||
| ) |
parameter Constructor
Definition at line 117 of file NBTypeCont.cpp.
References laneTypeDefinitions.
| bool NBTypeCont::EdgeTypeDefinition::needsLaneType | ( | ) | const |
whether any lane attributes deviate from the edge attributes
Definition at line 137 of file NBTypeCont.cpp.
References SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_FRICTION, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_WIDTH.
Referenced by NIXMLEdgesHandler::addEdge().
| std::set<SumoXMLAttr> NBTypeCont::EdgeTypeDefinition::attrs |
The attributes which have been set.
Definition at line 155 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::insertEdgeType(), GNEEdgeType::setAttribute(), and NBTypeCont::wasSetEdgeTypeAttribute().
| double NBTypeCont::EdgeTypeDefinition::bikeLaneWidth |
Definition at line 149 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeBikeLaneWidth().
| bool NBTypeCont::EdgeTypeDefinition::discard |
Whether edges of this edgeType shall be discarded.
Definition at line 129 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeShallBeDiscarded(), and GNEEdgeType::setAttribute().
| double NBTypeCont::EdgeTypeDefinition::friction |
The default friction on an edge.
Definition at line 114 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeFriction(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| std::vector<LaneTypeDefinition> NBTypeCont::EdgeTypeDefinition::laneTypeDefinitions |
vector with LaneTypeDefinitions
Definition at line 158 of file NBTypeCont.h.
Referenced by NIXMLEdgesHandler::addEdge(), EdgeTypeDefinition(), NBTypeCont::getEdgeTypeNumLanes(), NBTypeCont::insertLaneType(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::maxWidth |
The maximum width for lanes of this edgeType [m].
Definition at line 138 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeMaxWidth().
| double NBTypeCont::EdgeTypeDefinition::minWidth |
The minimum width for lanes of this edgeType [m].
Definition at line 141 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeMinWidth().
| bool NBTypeCont::EdgeTypeDefinition::oneWay |
Whether one-way traffic is mostly common for this edgeType (mostly unused)
Definition at line 126 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeIsOneWay().
| SVCPermissions NBTypeCont::EdgeTypeDefinition::permissions |
List of vehicle edgeTypes that are allowed on this edge.
Definition at line 120 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypePermissions(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| int NBTypeCont::EdgeTypeDefinition::priority |
The priority of an edge.
Definition at line 117 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 152 of file NBTypeCont.h.
Referenced by NBTypeCont::insertEdgeType().
| double NBTypeCont::EdgeTypeDefinition::sidewalkWidth |
Definition at line 145 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeSidewalkWidth().
| double NBTypeCont::EdgeTypeDefinition::speed |
The maximal velocity on an edge in m/s.
Definition at line 111 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeSpeed(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| LaneSpreadFunction NBTypeCont::EdgeTypeDefinition::spreadType |
lane spread type
Definition at line 123 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeSpreadType(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::width |
The width of lanes of edges of this edgeType [m].
Definition at line 132 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), NBTypeCont::getEdgeTypeWidth(), GNEEdgeType::setAttribute(), and NBTypeCont::setEdgeTypeDefaults().
| double NBTypeCont::EdgeTypeDefinition::widthResolution |
The resolution for interpreting custom (noisy) lane widths of this edgeType [m].
Definition at line 135 of file NBTypeCont.h.
Referenced by GNEEdgeType::getAttribute(), and NBTypeCont::getEdgeTypeWidthResolution().