![]() |
Eclipse SUMO - Simulation of Urban MObility
|
laneType definition More...
#include <NBTypeCont.h>
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< SumoXMLAttr > | attrs |
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] | |
laneType definition
Definition at line 59 of file NBTypeCont.h.
NBTypeCont::LaneTypeDefinition::LaneTypeDefinition | ( | ) |
default Constructor
Definition at line 43 of file NBTypeCont.cpp.
NBTypeCont::LaneTypeDefinition::LaneTypeDefinition | ( | const EdgeTypeDefinition * | edgeTypeDefinition | ) |
constructor (using parameters of EdgeTypeDefinition)
Definition at line 51 of file NBTypeCont.cpp.
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.
NBTypeCont::LaneTypeDefinition::LaneTypeDefinition | ( | const LaneTypeDefinition * | laneTypeDefinition | ) |
copy constructor
Definition at line 68 of file NBTypeCont.cpp.
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().
double NBTypeCont::LaneTypeDefinition::friction |
The default friction on a lane.
Definition at line 77 of file NBTypeCont.h.
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().
std::map<SUMOVehicleClass, double> NBTypeCont::LaneTypeDefinition::restrictions |
The vehicle class specific speed restrictions.
Definition at line 86 of file NBTypeCont.h.
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().
double NBTypeCont::LaneTypeDefinition::width |
lane width [m]
Definition at line 83 of file NBTypeCont.h.
Referenced by GNELaneType::getAttribute(), and GNELaneType::setAttribute().