Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIImporter_OpenDrive::OpenDriveLane Struct Reference

Representation of a lane. More...

#include <NIImporter_OpenDrive.h>

Public Member Functions

SVCPermissions computePermission (const NBTypeCont &tc, const std::vector< std::string > &allowed, const std::vector< std::string > &denied) const
 compute the actual SUMO lane permissions given the lane type as a start solution
 
 OpenDriveLane (int idArg, const std::string &levelArg, const std::string &typeArg)
 Constructor.
 

Data Fields

std::vector< std::pair< double, LaneAttributeChange > > attributeChanges
 List of permission and speed changes.
 
int id
 The lane's id.
 
std::string level
 The lane's level (not used)
 
SVCPermissions permission
 The access permissions (set in post-processing)
 
int predecessor
 The lane's predecessor lane.
 
double speed
 The lane's speed (set in post-processing)
 
int successor
 The lane's successor lane.
 
std::string type
 The lane's type.
 
double width
 
std::vector< OpenDriveWidthwidthData
 

Detailed Description

Representation of a lane.

Definition at line 317 of file NIImporter_OpenDrive.h.

Constructor & Destructor Documentation

◆ OpenDriveLane()

NIImporter_OpenDrive::OpenDriveLane::OpenDriveLane ( int  idArg,
const std::string &  levelArg,
const std::string &  typeArg 
)
inline

Constructor.

Parameters
[in]idArgThe OpenDrive id of the lane
[in]levelArgThe level
[in]typeArgtype of the lane

Definition at line 323 of file NIImporter_OpenDrive.h.

Member Function Documentation

◆ computePermission()

SVCPermissions NIImporter_OpenDrive::OpenDriveLane::computePermission ( const NBTypeCont tc,
const std::vector< std::string > &  allowed,
const std::vector< std::string > &  denied 
) const

compute the actual SUMO lane permissions given the lane type as a start solution

Definition at line 2082 of file NIImporter_OpenDrive.cpp.

References NBTypeCont::getEdgeTypePermissions(), SVC_BICYCLE, SVC_BUS, SVC_DELIVERY, SVC_EMERGENCY, SVC_IGNORING, SVC_MOTORCYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_TAXI, SVC_TRAILER, SVC_TRUCK, TL, and WRITE_WARNING.

Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().

Here is the caller graph for this function:

Field Documentation

◆ attributeChanges

std::vector< std::pair<double, LaneAttributeChange> > NIImporter_OpenDrive::OpenDriveLane::attributeChanges

List of permission and speed changes.

Definition at line 335 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().

◆ id

◆ level

std::string NIImporter_OpenDrive::OpenDriveLane::level

The lane's level (not used)

Definition at line 331 of file NIImporter_OpenDrive.h.

◆ permission

SVCPermissions NIImporter_OpenDrive::OpenDriveLane::permission

◆ predecessor

int NIImporter_OpenDrive::OpenDriveLane::predecessor

The lane's predecessor lane.

Definition at line 334 of file NIImporter_OpenDrive.h.

◆ speed

double NIImporter_OpenDrive::OpenDriveLane::speed

◆ successor

int NIImporter_OpenDrive::OpenDriveLane::successor

The lane's successor lane.

Definition at line 333 of file NIImporter_OpenDrive.h.

◆ type

◆ width

double NIImporter_OpenDrive::OpenDriveLane::width

◆ widthData

std::vector<OpenDriveWidth> NIImporter_OpenDrive::OpenDriveLane::widthData

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