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...
 
SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouterTT (const int rngIndex, SUMOVehicleClass svc) const
 
int getRoutingMode () const
 return the current routing mode More...
 
void setRoutingMode (int 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

int myRoutingMode
 routing mode (see TraCIConstants.h) More...
 

Detailed Description

Definition at line 694 of file MSBaseVehicle.h.

Constructor & Destructor Documentation

◆ BaseInfluencer()

MSBaseVehicle::BaseInfluencer::BaseInfluencer ( )

Constructor.

Definition at line 75 of file MSBaseVehicle.cpp.

◆ ~BaseInfluencer()

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

Destructor.

Definition at line 700 of file MSBaseVehicle.h.

Member Function Documentation

◆ cleanup()

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

Static cleanup.

◆ getRouterTT()

SUMOAbstractRouter< MSEdge, SUMOVehicle > & MSBaseVehicle::BaseInfluencer::getRouterTT ( const int  rngIndex,
SUMOVehicleClass  svc 
) const

Definition at line 80 of file MSBaseVehicle.cpp.

References MSNet::getInstance(), MSNet::getRouterTT(), and MSRoutingEngine::getRouterTT().

Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSVehicle::replaceStop(), MSVehicle::rerouteParkingArea(), and LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime().

Here is the caller graph for this function:

◆ getRoutingMode()

int MSBaseVehicle::BaseInfluencer::getRoutingMode ( ) const
inline

return the current routing mode

Definition at line 709 of file MSBaseVehicle.h.

References myRoutingMode.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getRoutingMode().

Here is the caller graph for this function:

◆ init()

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

Static initalization.

◆ setRoutingMode()

void MSBaseVehicle::BaseInfluencer::setRoutingMode ( int  value)
inline

Sets routing behavior.

Parameters
[in]valuean enum value controlling the different modes

Definition at line 716 of file MSBaseVehicle.h.

References myRoutingMode.

Referenced by LIBSUMO_NAMESPACE::Vehicle::setRoutingMode().

Here is the caller graph for this function:

Field Documentation

◆ myRoutingMode

int MSBaseVehicle::BaseInfluencer::myRoutingMode
protected

routing mode (see TraCIConstants.h)

Definition at line 725 of file MSBaseVehicle.h.

Referenced by getRoutingMode(), and setRoutingMode().


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