SUMO - Simulation of Urban MObility
NBTypeCont::TypeDefinition Struct Reference
Collaboration diagram for NBTypeCont::TypeDefinition:
Collaboration graph

Public Member Functions

 TypeDefinition ()
 Constructor. More...
 
 TypeDefinition (int _numLanes, SUMOReal _speed, int _priority, SUMOReal _width, SVCPermissions _permissions, bool _oneWay, SUMOReal _sideWalkWidth, SUMOReal _bikeLaneWidth)
 Constructor. More...
 

Data Fields

std::set< SumoXMLAttrattrs
 The attributes which have been set. More...
 
SUMOReal bikeLaneWidth
 
bool discard
 Whether edges of this type shall be discarded. More...
 
int numLanes
 The number of lanes of an edge. More...
 
bool oneWay
 Whether one-way traffic is mostly common for this type (mostly unused) More...
 
SVCPermissions permissions
 List of vehicle types that are allowed on this edge. More...
 
int priority
 The priority of an edge. More...
 
std::map< SUMOVehicleClass, SUMORealrestrictions
 The vehicle class specific speed restrictions. More...
 
SUMOReal sidewalkWidth
 
SUMOReal speed
 The maximal velocity on an edge in m/s. More...
 
SUMOReal width
 The width of lanes of edges of this type [m]. More...
 

Detailed Description

Definition at line 235 of file NBTypeCont.h.

Constructor & Destructor Documentation

NBTypeCont::TypeDefinition::TypeDefinition ( )
inline

Constructor.

Definition at line 237 of file NBTypeCont.h.

NBTypeCont::TypeDefinition::TypeDefinition ( int  _numLanes,
SUMOReal  _speed,
int  _priority,
SUMOReal  _width,
SVCPermissions  _permissions,
bool  _oneWay,
SUMOReal  _sideWalkWidth,
SUMOReal  _bikeLaneWidth 
)
inline

Constructor.

Definition at line 247 of file NBTypeCont.h.

Field Documentation

std::set<SumoXMLAttr> NBTypeCont::TypeDefinition::attrs

The attributes which have been set.

Definition at line 281 of file NBTypeCont.h.

Referenced by NBTypeCont::insert(), NBTypeCont::wasSet(), and NBTypeCont::writeTypes().

SUMOReal NBTypeCont::TypeDefinition::bikeLaneWidth

Definition at line 277 of file NBTypeCont.h.

Referenced by NBTypeCont::getBikeLaneWidth(), and NBTypeCont::writeTypes().

bool NBTypeCont::TypeDefinition::discard

Whether edges of this type shall be discarded.

Definition at line 269 of file NBTypeCont.h.

Referenced by NBTypeCont::getShallBeDiscarded(), and NBTypeCont::writeTypes().

int NBTypeCont::TypeDefinition::numLanes

The number of lanes of an edge.

Definition at line 259 of file NBTypeCont.h.

Referenced by NBTypeCont::getNumLanes(), NBTypeCont::setDefaults(), and NBTypeCont::writeTypes().

bool NBTypeCont::TypeDefinition::oneWay

Whether one-way traffic is mostly common for this type (mostly unused)

Definition at line 267 of file NBTypeCont.h.

Referenced by NBTypeCont::getIsOneWay(), and NBTypeCont::writeTypes().

SVCPermissions NBTypeCont::TypeDefinition::permissions

List of vehicle types that are allowed on this edge.

Definition at line 265 of file NBTypeCont.h.

Referenced by NBTypeCont::getPermissions(), and NBTypeCont::writeTypes().

int NBTypeCont::TypeDefinition::priority

The priority of an edge.

Definition at line 263 of file NBTypeCont.h.

Referenced by NBTypeCont::getPriority(), NBTypeCont::setDefaults(), and NBTypeCont::writeTypes().

std::map<SUMOVehicleClass, SUMOReal> NBTypeCont::TypeDefinition::restrictions

The vehicle class specific speed restrictions.

Definition at line 279 of file NBTypeCont.h.

Referenced by NBTypeCont::insert(), and NBTypeCont::writeTypes().

SUMOReal NBTypeCont::TypeDefinition::sidewalkWidth

Definition at line 274 of file NBTypeCont.h.

Referenced by NBTypeCont::getSidewalkWidth(), and NBTypeCont::writeTypes().

SUMOReal NBTypeCont::TypeDefinition::speed

The maximal velocity on an edge in m/s.

Definition at line 261 of file NBTypeCont.h.

Referenced by NBTypeCont::getSpeed(), NBTypeCont::setDefaults(), and NBTypeCont::writeTypes().

SUMOReal NBTypeCont::TypeDefinition::width

The width of lanes of edges of this type [m].

Definition at line 271 of file NBTypeCont.h.

Referenced by NBTypeCont::getWidth(), NBTypeCont::setDefaults(), and NBTypeCont::writeTypes().


The documentation for this struct was generated from the following file: