Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEDemandElement::EdgeStopIndex Struct Reference

auxiliar struct used for calculate pathStopIndex More...

#include <GNEDemandElement.h>

Collaboration diagram for GNEDemandElement::EdgeStopIndex:
[legend]

Public Member Functions

 EdgeStopIndex (GNEEdge *edge_, GNEDemandElement *stop)
 constructor

Data Fields

const GNEEdgeedge = nullptr
 edge (obtained from segment)
int stopIndex = -1
 stopIndex (-1 menans out of route)
std::vector< GNEDemandElement * > stops
 list of stops placed in the edge

Private Member Functions

 EdgeStopIndex ()
 default constructor (disabled)

Detailed Description

auxiliar struct used for calculate pathStopIndex

Definition at line 322 of file GNEDemandElement.h.

Constructor & Destructor Documentation

◆ EdgeStopIndex() [1/2]

GNEDemandElement::EdgeStopIndex::EdgeStopIndex ( GNEEdge * edge_,
GNEDemandElement * stop )
inline

constructor

Definition at line 325 of file GNEDemandElement.h.

References edge, GNEDemandElement::GNEDemandElement(), and stops.

◆ EdgeStopIndex() [2/2]

GNEDemandElement::EdgeStopIndex::EdgeStopIndex ( )
inlineprivate

default constructor (disabled)

Definition at line 340 of file GNEDemandElement.h.

Field Documentation

◆ edge

const GNEEdge* GNEDemandElement::EdgeStopIndex::edge = nullptr

edge (obtained from segment)

Definition at line 330 of file GNEDemandElement.h.

Referenced by EdgeStopIndex().

◆ stopIndex

int GNEDemandElement::EdgeStopIndex::stopIndex = -1

stopIndex (-1 menans out of route)

Definition at line 336 of file GNEDemandElement.h.

◆ stops

std::vector<GNEDemandElement*> GNEDemandElement::EdgeStopIndex::stops

list of stops placed in the edge

Definition at line 333 of file GNEDemandElement.h.

Referenced by EdgeStopIndex().


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