SUMO - Simulation of Urban MObility
NIImporter_OpenDrive::OpenDriveLane Struct Reference

Representation of a lane. More...

#include <NIImporter_OpenDrive.h>

Collaboration diagram for NIImporter_OpenDrive::OpenDriveLane:
Collaboration graph

Public Member Functions

 OpenDriveLane (int idArg, const std::string &levelArg, const std::string &typeArg)
 Constructor. More...
 

Data Fields

int id
 The lane's id. More...
 
std::string level
 The lane's level (not used) More...
 
int predecessor
 The lane's predecessor lane. More...
 
SUMOReal speed
 The lane's speed (set in post-processing) More...
 
std::vector< std::pair< SUMOReal, SUMOReal > > speeds
 List of positions/speeds of speed changes. More...
 
int successor
 The lane's successor lane. More...
 
std::string type
 The lane's type. More...
 
SUMOReal width
 The lane's width;. More...
 

Detailed Description

Representation of a lane.

Definition at line 276 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 282 of file NIImporter_OpenDrive.h.

Field Documentation

§ id

int NIImporter_OpenDrive::OpenDriveLane::id

The lane's id.

Definition at line 286 of file NIImporter_OpenDrive.h.

§ level

std::string NIImporter_OpenDrive::OpenDriveLane::level

The lane's level (not used)

Definition at line 287 of file NIImporter_OpenDrive.h.

§ predecessor

int NIImporter_OpenDrive::OpenDriveLane::predecessor

The lane's predecessor lane.

Definition at line 290 of file NIImporter_OpenDrive.h.

§ speed

SUMOReal NIImporter_OpenDrive::OpenDriveLane::speed

§ speeds

std::vector<std::pair<SUMOReal, SUMOReal> > NIImporter_OpenDrive::OpenDriveLane::speeds

List of positions/speeds of speed changes.

Definition at line 291 of file NIImporter_OpenDrive.h.

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

§ successor

int NIImporter_OpenDrive::OpenDriveLane::successor

The lane's successor lane.

Definition at line 289 of file NIImporter_OpenDrive.h.

§ type

std::string NIImporter_OpenDrive::OpenDriveLane::type

§ width

SUMOReal NIImporter_OpenDrive::OpenDriveLane::width

The lane's width;.

Todo:
: this is the maximum width only

Definition at line 293 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork().


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