SUMO - Simulation of Urban MObility
ROPerson::Walk Class Reference

A walk is part of a trip, e.g., go from here to here by foot. More...

#include <ROPerson.h>

Inheritance diagram for ROPerson::Walk:
Inheritance graph
Collaboration diagram for ROPerson::Walk:
Collaboration graph

Public Member Functions

const ROEdgegetDestination () const
 
const ROEdgegetOrigin () const
 
void saveAsXML (OutputDevice &os) const
 
 Walk (const ConstROEdgeVector &_edges, const std::string &_destStop="")
 
 Walk (const ConstROEdgeVector &edges, const double duration, const double speed, const double departPos, const double arrivalPos, const std::string &_destStop)
 

Private Member Functions

Walkoperator= (const Walk &src)
 Invalidated assignment operator. More...
 

Private Attributes

const double arr
 
const double dep
 
const std::string destStop
 
const double dur
 
const ConstROEdgeVector edges
 
const double v
 

Detailed Description

A walk is part of a trip, e.g., go from here to here by foot.

Definition at line 186 of file ROPerson.h.

Constructor & Destructor Documentation

◆ Walk() [1/2]

ROPerson::Walk::Walk ( const ConstROEdgeVector _edges,
const std::string &  _destStop = "" 
)
inline

Definition at line 188 of file ROPerson.h.

◆ Walk() [2/2]

ROPerson::Walk::Walk ( const ConstROEdgeVector edges,
const double  duration,
const double  speed,
const double  departPos,
const double  arrivalPos,
const std::string &  _destStop 
)
inline

Definition at line 190 of file ROPerson.h.

Member Function Documentation

◆ getDestination()

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

Implements ROPerson::TripItem.

Definition at line 196 of file ROPerson.h.

References ROPerson::PlanItem::saveAsXML().

◆ getOrigin()

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

Implements ROPerson::TripItem.

Definition at line 193 of file ROPerson.h.

◆ operator=()

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

Invalidated assignment operator.

◆ saveAsXML()

Field Documentation

◆ arr

const double ROPerson::Walk::arr
private

Definition at line 203 of file ROPerson.h.

◆ dep

const double ROPerson::Walk::dep
private

Definition at line 203 of file ROPerson.h.

◆ destStop

const std::string ROPerson::Walk::destStop
private

Definition at line 204 of file ROPerson.h.

◆ dur

const double ROPerson::Walk::dur
private

Definition at line 203 of file ROPerson.h.

◆ edges

const ConstROEdgeVector ROPerson::Walk::edges
private

Definition at line 202 of file ROPerson.h.

◆ v

const double ROPerson::Walk::v
private

Definition at line 203 of file ROPerson.h.


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