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

A ride is part of a trip, e.g., go from here to here by car or bus. More...

#include <ROPerson.h>

Inheritance diagram for ROPerson::Ride:
Inheritance graph
Collaboration diagram for ROPerson::Ride:
Collaboration graph

Public Member Functions

const ROEdgegetDestination () const
 
const ROEdgegetOrigin () const
 
 Ride (const ROEdge *const _from, const ROEdge *const _to, const std::string &_lines, const std::string &_destStop="")
 
void saveAsXML (OutputDevice &os) const
 

Private Member Functions

Rideoperator= (const Ride &src)
 Invalidated assignment operator. More...
 

Private Attributes

const std::string destStop
 
const ROEdge *const from
 
const std::string lines
 
const ROEdge *const to
 

Detailed Description

A ride is part of a trip, e.g., go from here to here by car or bus.

Definition at line 155 of file ROPerson.h.

Constructor & Destructor Documentation

§ Ride()

ROPerson::Ride::Ride ( const ROEdge *const  _from,
const ROEdge *const  _to,
const std::string &  _lines,
const std::string &  _destStop = "" 
)
inline

Definition at line 157 of file ROPerson.h.

Member Function Documentation

§ getDestination()

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

Implements ROPerson::TripItem.

Definition at line 164 of file ROPerson.h.

References ROPerson::PlanItem::saveAsXML().

§ getOrigin()

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

Implements ROPerson::TripItem.

Definition at line 161 of file ROPerson.h.

§ operator=()

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

Invalidated assignment operator.

§ saveAsXML()

void ROPerson::Ride::saveAsXML ( OutputDevice os) const
virtual

Field Documentation

§ destStop

const std::string ROPerson::Ride::destStop
private

Definition at line 173 of file ROPerson.h.

§ from

const ROEdge* const ROPerson::Ride::from
private

Definition at line 170 of file ROPerson.h.

§ lines

const std::string ROPerson::Ride::lines
private

Definition at line 172 of file ROPerson.h.

§ to

const ROEdge* const ROPerson::Ride::to
private

Definition at line 171 of file ROPerson.h.


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