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:
Collaboration diagram for ROPerson::Stop:

Public Member Functions

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

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 108 of file ROPerson.h.

Constructor & Destructor Documentation

◆ Stop()

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

Definition at line 110 of file ROPerson.h.

Referenced by clone().

Member Function Documentation

◆ addTripItem()

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

Reimplemented in ROPerson::PersonTrip.

Definition at line 86 of file ROPerson.h.

◆ clone()

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

Implements ROPerson::PlanItem.

Definition at line 113 of file ROPerson.h.

References edge, Stop(), and stopDesc.

◆ getDestination()

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

Implements ROPerson::PlanItem.

Definition at line 120 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 132 of file ROPerson.h.

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

◆ getOrigin()

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

Implements ROPerson::PlanItem.

Definition at line 117 of file ROPerson.h.

References edge.

◆ isStop()

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

Reimplemented from ROPerson::PlanItem.

Definition at line 129 of file ROPerson.h.

◆ needsRouting()

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

Reimplemented in ROPerson::PersonTrip.

Definition at line 97 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  ,
const bool   
) const
inlinevirtual

Implements ROPerson::PlanItem.

Definition at line 126 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 92 of file ROPerson.h.

Field Documentation

◆ edge

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

Definition at line 138 of file ROPerson.h.

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

◆ stopDesc

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

Definition at line 137 of file ROPerson.h.

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


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