Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBTypeCont::LaneTypeDefinition Struct Reference

laneType definition More...

#include <NBTypeCont.h>

Inheritance diagram for NBTypeCont::LaneTypeDefinition:
[legend]

Public Member Functions

 LaneTypeDefinition ()
 default Constructor
 
 LaneTypeDefinition (const double speed, const double friction, const double width, SVCPermissions permissions, const std::set< SumoXMLAttr > &attrs)
 parameter constructor
 
 LaneTypeDefinition (const EdgeTypeDefinition *edgeTypeDefinition)
 constructor (using parameters of EdgeTypeDefinition)
 
 LaneTypeDefinition (const LaneTypeDefinition *laneTypeDefinition)
 copy constructor
 

Data Fields

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

Detailed Description

laneType definition

Definition at line 59 of file NBTypeCont.h.

Constructor & Destructor Documentation

◆ LaneTypeDefinition() [1/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( )

default Constructor

Definition at line 43 of file NBTypeCont.cpp.

◆ LaneTypeDefinition() [2/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const EdgeTypeDefinition edgeTypeDefinition)

constructor (using parameters of EdgeTypeDefinition)

Definition at line 51 of file NBTypeCont.cpp.

◆ LaneTypeDefinition() [3/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const double  speed,
const double  friction,
const double  width,
SVCPermissions  permissions,
const std::set< SumoXMLAttr > &  attrs 
)

parameter constructor

Definition at line 59 of file NBTypeCont.cpp.

◆ LaneTypeDefinition() [4/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const LaneTypeDefinition laneTypeDefinition)

copy constructor

Definition at line 68 of file NBTypeCont.cpp.

Field Documentation

◆ attrs

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

The attributes which have been set.

Definition at line 89 of file NBTypeCont.h.

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

◆ friction

double NBTypeCont::LaneTypeDefinition::friction

The default friction on a lane.

Definition at line 77 of file NBTypeCont.h.

◆ permissions

SVCPermissions NBTypeCont::LaneTypeDefinition::permissions

List of vehicle edgeTypes that are allowed on this lane.

Definition at line 80 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 86 of file NBTypeCont.h.

◆ speed

double NBTypeCont::LaneTypeDefinition::speed

The maximal velocity on a lane in m/s.

Definition at line 74 of file NBTypeCont.h.

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

◆ width

double NBTypeCont::LaneTypeDefinition::width

lane width [m]

Definition at line 83 of file NBTypeCont.h.

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


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