Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
LIBSUMO_NAMESPACE::ChargingStation Class Reference

#include <ChargingStation.h>

Static Public Member Functions

static double getChargeDelay (const std::string &stopID)
static int getChargeInTransit (const std::string &stopID)
static double getChargingPower (const std::string &stopID)
static double getEfficiency (const std::string &stopID)
static double getEndPos (const std::string &stopID)
static std::string getLaneID (const std::string &stopID)
static std::string getName (const std::string &stopID)
static double getStartPos (const std::string &stopID)
static int getVehicleCount (const std::string &stopID)
static std::vector< std::string > getVehicleIDs (const std::string &stopID)
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
static std::shared_ptr< VariableWrapper > makeWrapper ()
static void setChargeDelay (const std::string &stopID, double delay)
static void setChargeInTransit (const std::string &stopID, bool inTransit)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setChargingPower (const std::string &stopID, double power)
static void setEfficiency (const std::string &stopID, double efficiency)

Private Member Functions

 ChargingStation ()=delete
 invalidated standard constructor

Static Private Member Functions

static MSStoppingPlacegetChargingStation (const std::string &id)

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
static SubscriptionResults mySubscriptionResults

Detailed Description

Definition at line 41 of file ChargingStation.h.

Constructor & Destructor Documentation

◆ ChargingStation()

LIBSUMO_NAMESPACE::ChargingStation::ChargingStation ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getChargeDelay()

double ChargingStation::getChargeDelay ( const std::string & stopID)
static

Definition at line 113 of file libsumo/ChargingStation.cpp.

References getChargeDelay(), getChargingStation(), and STEPS2TIME.

Referenced by getChargeDelay(), and handleVariable().

Here is the caller graph for this function:

◆ getChargeInTransit()

int ChargingStation::getChargeInTransit ( const std::string & stopID)
static

Definition at line 119 of file libsumo/ChargingStation.cpp.

References getChargeInTransit(), and getChargingStation().

Referenced by getChargeInTransit(), and handleVariable().

Here is the caller graph for this function:

◆ getChargingPower()

double ChargingStation::getChargingPower ( const std::string & stopID)
static

Definition at line 101 of file libsumo/ChargingStation.cpp.

References getChargingPower(), and getChargingStation().

Referenced by getChargingPower(), and handleVariable().

Here is the caller graph for this function:

◆ getChargingStation()

MSStoppingPlace * ChargingStation::getChargingStation ( const std::string & id)
staticprivate

Definition at line 166 of file libsumo/ChargingStation.cpp.

References getChargingStation(), libsumo::Helper::getStoppingPlace(), and SUMO_TAG_CHARGING_STATION.

Referenced by getChargeDelay(), getChargeInTransit(), getChargingPower(), getChargingStation(), getEfficiency(), getEndPos(), getLaneID(), getName(), getStartPos(), getVehicleCount(), getVehicleIDs(), setChargeDelay(), setChargeInTransit(), setChargingPower(), and setEfficiency().

Here is the caller graph for this function:

◆ getEfficiency()

double ChargingStation::getEfficiency ( const std::string & stopID)
static

Definition at line 107 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getEfficiency().

Referenced by getEfficiency(), and handleVariable().

Here is the caller graph for this function:

◆ getEndPos()

double ChargingStation::getEndPos ( const std::string & stopID)
static

Definition at line 73 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getEndPos().

Referenced by getEndPos(), and handleVariable().

Here is the caller graph for this function:

◆ getLaneID()

std::string ChargingStation::getLaneID ( const std::string & stopID)
static

Definition at line 62 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getLaneID().

Referenced by getLaneID(), and handleVariable().

Here is the caller graph for this function:

◆ getName()

std::string ChargingStation::getName ( const std::string & stopID)
static

Definition at line 79 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getName().

Referenced by getName(), and handleVariable().

Here is the caller graph for this function:

◆ getStartPos()

double ChargingStation::getStartPos ( const std::string & stopID)
static

Definition at line 67 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getStartPos().

Referenced by getStartPos(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleCount()

int ChargingStation::getVehicleCount ( const std::string & stopID)
static

Definition at line 85 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getVehicleCount().

Referenced by getVehicleCount(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleIDs()

std::vector< std::string > ChargingStation::getVehicleIDs ( const std::string & stopID)
static

Definition at line 91 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and getVehicleIDs().

Referenced by getVehicleIDs(), and handleVariable().

Here is the caller graph for this function:

◆ handleVariable()

◆ makeWrapper()

std::shared_ptr< VariableWrapper > ChargingStation::makeWrapper ( )
static

Definition at line 172 of file libsumo/ChargingStation.cpp.

References handleVariable(), makeWrapper(), myContextSubscriptionResults, and mySubscriptionResults.

Referenced by makeWrapper().

Here is the caller graph for this function:

◆ setChargeDelay()

void ChargingStation::setChargeDelay ( const std::string & stopID,
double delay )
static

Definition at line 137 of file libsumo/ChargingStation.cpp.

References getChargingStation(), setChargeDelay(), and TIME2STEPS.

Referenced by setChargeDelay().

Here is the caller graph for this function:

◆ setChargeInTransit()

void ChargingStation::setChargeInTransit ( const std::string & stopID,
bool inTransit )
static

Definition at line 143 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and setChargeInTransit().

Referenced by setChargeInTransit().

Here is the caller graph for this function:

◆ setChargingPower()

void ChargingStation::setChargingPower ( const std::string & stopID,
double power )
static

Definition at line 125 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and setChargingPower().

Referenced by setChargingPower().

Here is the caller graph for this function:

◆ setEfficiency()

void ChargingStation::setEfficiency ( const std::string & stopID,
double efficiency )
static

Definition at line 131 of file libsumo/ChargingStation.cpp.

References getChargingStation(), and setEfficiency().

Referenced by setEfficiency().

Here is the caller graph for this function:

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults ChargingStation::myContextSubscriptionResults
staticprivate

Definition at line 73 of file ChargingStation.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults ChargingStation::mySubscriptionResults
staticprivate

Definition at line 72 of file ChargingStation.h.

Referenced by makeWrapper().


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