Eclipse SUMO - Simulation of Urban MObility
GNEDemandElement::SortedStops Struct Reference

struct for writting sorted stops More...

#include <GNEDemandElement.h>

Collaboration diagram for GNEDemandElement::SortedStops:
[legend]

Public Member Functions

void addStop (const GNEDemandElement *stop)
 add (and sort) stop More...
 
 SortedStops (GNEEdge *edge_)
 constructor More...
 

Data Fields

const GNEEdgeedge
 route's edge More...
 
std::vector< std::pair< std::pair< double, double >, const GNEDemandElement * > > myStops
 stops sorted by end position More...
 

Detailed Description

struct for writting sorted stops

Definition at line 420 of file GNEDemandElement.h.

Constructor & Destructor Documentation

◆ SortedStops()

GNEDemandElement::SortedStops::SortedStops ( GNEEdge edge_)

constructor

Definition at line 1043 of file GNEDemandElement.cpp.

Member Function Documentation

◆ addStop()

void GNEDemandElement::SortedStops::addStop ( const GNEDemandElement stop)

add (and sort) stop

Definition at line 1049 of file GNEDemandElement.cpp.

References GNEDemandElement::getAttributeDouble(), SUMO_ATTR_ENDPOS, and SUMO_ATTR_INDEX.

Field Documentation

◆ edge

const GNEEdge* GNEDemandElement::SortedStops::edge

route's edge

Definition at line 428 of file GNEDemandElement.h.

◆ myStops

std::vector<std::pair<std::pair<double, double >, const GNEDemandElement*> > GNEDemandElement::SortedStops::myStops

stops sorted by end position

Definition at line 431 of file GNEDemandElement.h.


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