Eclipse SUMO - Simulation of Urban MObility
ROPerson::Stop Class Reference

A planItem can be a Stop. More...

#include <ROPerson.h>

Inheritance diagram for ROPerson::Stop:
[legend]
Collaboration diagram for ROPerson::Stop:
[legend]

Public Member Functions

virtual void addTripItem (TripItem *)
 
PlanItemclone () const
 
const ROEdgegetDestination () const
 
double getDestinationPos () const
 
SUMOTime getDuration () const
 
const ROEdgegetOrigin () const
 
const std::string & getStopDest () const
 
bool isStop () const
 
virtual bool needsRouting () const
 
void saveAsXML (OutputDevice &os, const bool, const bool, OptionsCont &) const
 
virtual void saveVehicles (OutputDevice &, OutputDevice *const, bool, OptionsCont &) const
 
 Stop (const SUMOVehicleParameter::Stop &stop, const ROEdge *const stopEdge)
 

Static Public Attributes

static const std::string UNDEFINED_STOPPING_PLACE
 

Private Member Functions

Stopoperator= (const Stop &src)
 Invalidated assignment operator. More...
 

Private Attributes

const ROEdge *const edge
 
SUMOVehicleParameter::Stop stopDesc
 

Detailed Description

A planItem can be a Stop.

Definition at line 116 of file ROPerson.h.

Constructor & Destructor Documentation

◆ Stop()

ROPerson::Stop::Stop ( const SUMOVehicleParameter::Stop stop,
const ROEdge *const  stopEdge 
)
inline

Definition at line 118 of file ROPerson.h.

Referenced by clone().

Here is the caller graph for this function:

Member Function Documentation

◆ addTripItem()

virtual void ROPerson::PlanItem::addTripItem ( TripItem )
inlinevirtualinherited

Reimplemented in ROPerson::PersonTrip.

Definition at line 89 of file ROPerson.h.

◆ clone()

PlanItem * ROPerson::Stop::clone ( ) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 121 of file ROPerson.h.

References edge, Stop(), and stopDesc.

◆ getDestination()

const ROEdge * ROPerson::Stop::getDestination ( ) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 128 of file ROPerson.h.

References edge.

◆ getDestinationPos()

double ROPerson::Stop::getDestinationPos ( ) const
inlinevirtual

◆ getDuration()

SUMOTime ROPerson::Stop::getDuration ( ) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 140 of file ROPerson.h.

References SUMOVehicleParameter::Stop::duration, and stopDesc.

◆ getOrigin()

const ROEdge * ROPerson::Stop::getOrigin ( ) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 125 of file ROPerson.h.

References edge.

◆ getStopDest()

const std::string & ROPerson::Stop::getStopDest ( ) const
inlinevirtual

Reimplemented from ROPerson::PlanItem.

Definition at line 143 of file ROPerson.h.

References SUMOVehicleParameter::Stop::busstop, and stopDesc.

◆ isStop()

bool ROPerson::Stop::isStop ( ) const
inlinevirtual

Reimplemented from ROPerson::PlanItem.

Definition at line 137 of file ROPerson.h.

◆ needsRouting()

virtual bool ROPerson::PlanItem::needsRouting ( ) const
inlinevirtualinherited

Reimplemented in ROPerson::PersonTrip.

Definition at line 100 of file ROPerson.h.

◆ operator=()

Stop & ROPerson::Stop::operator= ( const Stop src)
private

Invalidated assignment operator.

◆ saveAsXML()

void ROPerson::Stop::saveAsXML ( OutputDevice os,
const bool  ,
const bool  ,
OptionsCont  
) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 134 of file ROPerson.h.

References stopDesc, and SUMOVehicleParameter::Stop::write().

◆ saveVehicles()

virtual void ROPerson::PlanItem::saveVehicles ( OutputDevice ,
OutputDevice * const  ,
bool  ,
OptionsCont  
) const
inlinevirtualinherited

Reimplemented in ROPerson::PersonTrip.

Definition at line 95 of file ROPerson.h.

Field Documentation

◆ edge

const ROEdge* const ROPerson::Stop::edge
private

Definition at line 149 of file ROPerson.h.

Referenced by clone(), getDestination(), and getOrigin().

◆ stopDesc

SUMOVehicleParameter::Stop ROPerson::Stop::stopDesc
private

Definition at line 148 of file ROPerson.h.

Referenced by clone(), getDestinationPos(), getDuration(), getStopDest(), and saveAsXML().

◆ UNDEFINED_STOPPING_PLACE

const std::string ROPerson::PlanItem::UNDEFINED_STOPPING_PLACE
staticinherited

Definition at line 109 of file ROPerson.h.

Referenced by ROPerson::PlanItem::getStopDest().


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