SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NBTypeCont::TypeDefinition Struct Reference

Public Member Functions

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

Data Fields

bool discard
 Whether edges of this type shall be discarded. More...
 
int noLanes
 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...
 
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 204 of file NBTypeCont.h.

Constructor & Destructor Documentation

NBTypeCont::TypeDefinition::TypeDefinition ( )
inline

Constructor.

Definition at line 206 of file NBTypeCont.h.

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

Constructor.

Definition at line 215 of file NBTypeCont.h.

Field Documentation

bool NBTypeCont::TypeDefinition::discard

Whether edges of this type shall be discarded.

Definition at line 235 of file NBTypeCont.h.

Referenced by NBTypeCont::getShallBeDiscarded().

int NBTypeCont::TypeDefinition::noLanes

The number of lanes of an edge.

Definition at line 225 of file NBTypeCont.h.

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

bool NBTypeCont::TypeDefinition::oneWay

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

Definition at line 233 of file NBTypeCont.h.

Referenced by NBTypeCont::getIsOneWay().

SVCPermissions NBTypeCont::TypeDefinition::permissions

List of vehicle types that are allowed on this edge.

Definition at line 231 of file NBTypeCont.h.

Referenced by NBTypeCont::getPermissions().

int NBTypeCont::TypeDefinition::priority

The priority of an edge.

Definition at line 229 of file NBTypeCont.h.

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

SUMOReal NBTypeCont::TypeDefinition::sidewalkWidth

Definition at line 240 of file NBTypeCont.h.

Referenced by NBTypeCont::getSidewalkWidth().

SUMOReal NBTypeCont::TypeDefinition::speed

The maximal velocity on an edge in m/s.

Definition at line 227 of file NBTypeCont.h.

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

SUMOReal NBTypeCont::TypeDefinition::width

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

Definition at line 237 of file NBTypeCont.h.

Referenced by NBTypeCont::getWidth().


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