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

Constructor & Destructor Documentation

◆ Stop()

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

Definition at line 111 of file ROPerson.h.

Member Function Documentation

◆ addTripItem()

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

◆ clone()

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

Implements ROPerson::PlanItem.

Definition at line 114 of file ROPerson.h.

◆ getDestination()

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

Implements ROPerson::PlanItem.

Definition at line 121 of file ROPerson.h.

◆ getDestinationPos()

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

Implements ROPerson::PlanItem.

Definition at line 124 of file ROPerson.h.

◆ getDuration()

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

Implements ROPerson::PlanItem.

Definition at line 133 of file ROPerson.h.

◆ getOrigin()

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

Implements ROPerson::PlanItem.

Definition at line 118 of file ROPerson.h.

◆ isStop()

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

Reimplemented from ROPerson::PlanItem.

Definition at line 130 of file ROPerson.h.

◆ needsRouting()

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

Reimplemented in ROPerson::PersonTrip.

Definition at line 98 of file ROPerson.h.

References ROPerson::PlanItem::getDuration().

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

◆ saveVehicles()

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

Reimplemented in ROPerson::PersonTrip.

Definition at line 93 of file ROPerson.h.

References ROPerson::PlanItem::saveAsXML().

Referenced by ROPerson::PersonTrip::needsRouting().

Field Documentation

◆ edge

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

Definition at line 139 of file ROPerson.h.

◆ stopDesc

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

Definition at line 138 of file ROPerson.h.


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