Eclipse SUMO - Simulation of Urban MObility
NBTypeCont::LaneTypeDefinition Struct Reference

laneType definition More...

#include <NBTypeCont.h>

Inheritance diagram for NBTypeCont::LaneTypeDefinition:
[legend]

Public Member Functions

 LaneTypeDefinition ()
 Constructor. More...
 
 LaneTypeDefinition (double speed, double width, SVCPermissions permissions)
 parameter Constructor More...
 

Data Fields

std::set< SumoXMLAttrattrs
 The attributes which have been set. More...
 
SVCPermissions permissions
 List of vehicle edgeTypes that are allowed on this lane. More...
 
std::map< SUMOVehicleClass, double > restrictions
 The vehicle class specific speed restrictions. More...
 
double speed
 The maximal velocity on a lane in m/s. More...
 
double width
 lane width [m] More...
 

Detailed Description

laneType definition

Definition at line 56 of file NBTypeCont.h.

Constructor & Destructor Documentation

◆ LaneTypeDefinition() [1/2]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( )

Constructor.

Definition at line 43 of file NBTypeCont.cpp.

◆ LaneTypeDefinition() [2/2]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( double  speed,
double  width,
SVCPermissions  permissions 
)

parameter Constructor

Definition at line 50 of file NBTypeCont.cpp.

Field Documentation

◆ attrs

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

The attributes which have been set.

Definition at line 76 of file NBTypeCont.h.

Referenced by GNELaneType::getAttribute(), and GNELaneType::setAttribute().

◆ permissions

SVCPermissions NBTypeCont::LaneTypeDefinition::permissions

List of vehicle edgeTypes that are allowed on this lane.

Definition at line 67 of file NBTypeCont.h.

Referenced by GNELaneType::getAttribute(), and GNELaneType::setAttribute().

◆ restrictions

std::map<SUMOVehicleClass, double> NBTypeCont::LaneTypeDefinition::restrictions

The vehicle class specific speed restrictions.

Definition at line 73 of file NBTypeCont.h.

◆ speed

double NBTypeCont::LaneTypeDefinition::speed

The maximal velocity on a lane in m/s.

Definition at line 64 of file NBTypeCont.h.

Referenced by GNELaneType::getAttribute(), and GNELaneType::setAttribute().

◆ width

double NBTypeCont::LaneTypeDefinition::width

lane width [m]

Definition at line 70 of file NBTypeCont.h.

Referenced by GNELaneType::getAttribute(), and GNELaneType::setAttribute().


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