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 SUMOReal duration, const SUMOReal speed, const SUMOReal departPos, const SUMOReal arrivalPos, const std::string &_destStop)
 

Private Member Functions

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

Private Attributes

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

Detailed Description

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

Definition at line 185 of file ROPerson.h.

Constructor & Destructor Documentation

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

Definition at line 187 of file ROPerson.h.

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

Definition at line 189 of file ROPerson.h.

Member Function Documentation

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

Implements ROPerson::TripItem.

Definition at line 195 of file ROPerson.h.

References ROPerson::PlanItem::saveAsXML().

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

Implements ROPerson::TripItem.

Definition at line 192 of file ROPerson.h.

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

Invalidated assignment operator.

Field Documentation

const SUMOReal ROPerson::Walk::arr
private

Definition at line 202 of file ROPerson.h.

const SUMOReal ROPerson::Walk::dep
private

Definition at line 202 of file ROPerson.h.

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

Definition at line 203 of file ROPerson.h.

const SUMOReal ROPerson::Walk::dur
private

Definition at line 202 of file ROPerson.h.

const ConstROEdgeVector ROPerson::Walk::edges
private

Definition at line 201 of file ROPerson.h.

const SUMOReal ROPerson::Walk::v
private

Definition at line 202 of file ROPerson.h.


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