Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSBaseVehicle::BaseInfluencer Class Reference

#include <MSBaseVehicle.h>

Inheritance diagram for MSBaseVehicle::BaseInfluencer:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

double myExtraImpatience = 0
 dynamic impatience offset
 

Detailed Description

Definition at line 883 of file MSBaseVehicle.h.

Constructor & Destructor Documentation

◆ BaseInfluencer()

MSBaseVehicle::BaseInfluencer::BaseInfluencer ( )

Constructor.

Definition at line 83 of file MSBaseVehicle.cpp.

◆ ~BaseInfluencer()

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

Destructor.

Definition at line 889 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 898 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 905 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 911 of file MSBaseVehicle.h.

Referenced by getExtraImpatience(), and setExtraImpatience().


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