SUMO - Simulation of Urban MObility
NBEdgeCont::PostProcessConnection Struct Reference

A structure representing a connection between two lanes. More...

Collaboration diagram for NBEdgeCont::PostProcessConnection:
Collaboration graph

Public Member Functions

 PostProcessConnection (const std::string &from_, int fromLane_, const std::string &to_, int toLane_, bool mayDefinitelyPass_, bool keepClear_, double contPos_, double visibility_, double speed_, const PositionVector &customShape_, bool warnOnly_=false)
 Constructor. More...
 

Data Fields

double contPos
 custom position for internal junction on this connection More...
 
PositionVector customShape
 custom shape for connection More...
 
std::string from
 The id of the edge the connection starts at. More...
 
int fromLane
 The number of the lane the connection starts at. More...
 
bool keepClear
 Whether the connection may be passed without braking. More...
 
bool mayDefinitelyPass
 Whether the connection may be passed without braking. More...
 
double speed
 custom speed for connection More...
 
std::string to
 The id of the edge the connection ends at. More...
 
int toLane
 The number of the lane the connection ends at. More...
 
double visibility
 custom foe visiblity for connection More...
 
bool warnOnly
 whether a failure to set this connection is a warning or an error More...
 

Detailed Description

A structure representing a connection between two lanes.

Definition at line 575 of file NBEdgeCont.h.

Constructor & Destructor Documentation

◆ PostProcessConnection()

NBEdgeCont::PostProcessConnection::PostProcessConnection ( const std::string &  from_,
int  fromLane_,
const std::string &  to_,
int  toLane_,
bool  mayDefinitelyPass_,
bool  keepClear_,
double  contPos_,
double  visibility_,
double  speed_,
const PositionVector customShape_,
bool  warnOnly_ = false 
)
inline

Constructor.

Parameters
[in]fromThe id of the edge the connection starts at
[in]fromLaneThe number of the lane the connection starts at
[in]toThe id of the edge the connection ends at
[in]toLaneThe number of the lane the connection ends at
[in]mayDefinitelyPassWhether the connection may be passed without braking

Definition at line 584 of file NBEdgeCont.h.

Field Documentation

◆ contPos

double NBEdgeCont::PostProcessConnection::contPos

custom position for internal junction on this connection

Definition at line 607 of file NBEdgeCont.h.

◆ customShape

PositionVector NBEdgeCont::PostProcessConnection::customShape

custom shape for connection

Definition at line 613 of file NBEdgeCont.h.

◆ from

std::string NBEdgeCont::PostProcessConnection::from

The id of the edge the connection starts at.

Definition at line 595 of file NBEdgeCont.h.

◆ fromLane

int NBEdgeCont::PostProcessConnection::fromLane

The number of the lane the connection starts at.

Definition at line 597 of file NBEdgeCont.h.

◆ keepClear

bool NBEdgeCont::PostProcessConnection::keepClear

Whether the connection may be passed without braking.

Definition at line 605 of file NBEdgeCont.h.

◆ mayDefinitelyPass

bool NBEdgeCont::PostProcessConnection::mayDefinitelyPass

Whether the connection may be passed without braking.

Definition at line 603 of file NBEdgeCont.h.

◆ speed

double NBEdgeCont::PostProcessConnection::speed

custom speed for connection

Definition at line 611 of file NBEdgeCont.h.

◆ to

std::string NBEdgeCont::PostProcessConnection::to

The id of the edge the connection ends at.

Definition at line 599 of file NBEdgeCont.h.

◆ toLane

int NBEdgeCont::PostProcessConnection::toLane

The number of the lane the connection ends at.

Definition at line 601 of file NBEdgeCont.h.

◆ visibility

double NBEdgeCont::PostProcessConnection::visibility

custom foe visiblity for connection

Definition at line 609 of file NBEdgeCont.h.

◆ warnOnly

bool NBEdgeCont::PostProcessConnection::warnOnly

whether a failure to set this connection is a warning or an error

Definition at line 615 of file NBEdgeCont.h.


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