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 STEPS2TIME.

◆ getChargeInTransit()

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

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

◆ getChargingPower()

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

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

◆ getChargingStation()

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

◆ getEfficiency()

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

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

◆ getEndPos()

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

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

◆ getLaneID()

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

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

◆ getName()

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

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

◆ getStartPos()

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

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

◆ getVehicleCount()

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

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

◆ getVehicleIDs()

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

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

◆ handleVariable()

◆ makeWrapper()

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

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

◆ setChargeDelay()

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

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

References TIME2STEPS.

◆ setChargeInTransit()

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

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

◆ setChargingPower()

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

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

◆ setEfficiency()

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

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

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults ChargingStation::myContextSubscriptionResults
staticprivate

Definition at line 73 of file ChargingStation.h.

◆ mySubscriptionResults

SubscriptionResults ChargingStation::mySubscriptionResults
staticprivate

Definition at line 72 of file ChargingStation.h.


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