Eclipse SUMO - Simulation of Urban MObility
MSBaseVehicle::BaseInfluencer Class Reference

#include <MSBaseVehicle.h>

Inheritance diagram for MSBaseVehicle::BaseInfluencer:
[legend]

Public Member Functions

 BaseInfluencer ()
 Constructor. More...
 
double getExtraImpatience () const
 return the current routing mode More...
 
void setExtraImpatience (double value)
 Sets routing behavior. More...
 
virtual ~BaseInfluencer ()
 Destructor. More...
 

Static Public Member Functions

static void cleanup ()
 Static cleanup. More...
 
static void init ()
 Static initalization. More...
 

Protected Attributes

double myExtraImpatience = 0
 dynamic impatience offset More...
 

Detailed Description

Definition at line 862 of file MSBaseVehicle.h.

Constructor & Destructor Documentation

◆ BaseInfluencer()

MSBaseVehicle::BaseInfluencer::BaseInfluencer ( )

Constructor.

Definition at line 79 of file MSBaseVehicle.cpp.

◆ ~BaseInfluencer()

virtual MSBaseVehicle::BaseInfluencer::~BaseInfluencer ( )
inlinevirtual

Destructor.

Definition at line 868 of file MSBaseVehicle.h.

Member Function Documentation

◆ cleanup()

static void MSBaseVehicle::BaseInfluencer::cleanup ( )
static

Static cleanup.

◆ getExtraImpatience()

double MSBaseVehicle::BaseInfluencer::getExtraImpatience ( ) const
inline

return the current routing mode

Definition at line 877 of file MSBaseVehicle.h.

References myExtraImpatience.

◆ init()

static void MSBaseVehicle::BaseInfluencer::init ( )
static

Static initalization.

◆ setExtraImpatience()

void MSBaseVehicle::BaseInfluencer::setExtraImpatience ( double  value)
inline

Sets routing behavior.

Parameters
[in]valuean enum value controlling the different modes

Definition at line 884 of file MSBaseVehicle.h.

References myExtraImpatience.

Referenced by MSVehicle::updateWaitingTime().

Here is the caller graph for this function:

Field Documentation

◆ myExtraImpatience

double MSBaseVehicle::BaseInfluencer::myExtraImpatience = 0
protected

dynamic impatience offset

Definition at line 890 of file MSBaseVehicle.h.

Referenced by getExtraImpatience(), and setExtraImpatience().


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