17 #ifndef GNEChargingStation_h 18 #define GNEChargingStation_h 49 GNEChargingStation(
const std::string&
id,
GNELane* lane,
GNEViewNet* viewNet,
const std::string& startPos,
const std::string& endPos,
const std::string& name,
double chargingPower,
double efficiency,
bool chargeInTransit,
const double chargeDelay,
bool friendlyPosition,
bool blockMovement);
Stores the information about how to visualize structures.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateGeometry(bool updateGrid)
update pre-computed geometry information
double myEfficiency
efficiency of the charge
~GNEChargingStation()
Destructor.
GNEChargingStation(const std::string &id, GNELane *lane, GNEViewNet *viewNet, const std::string &startPos, const std::string &endPos, const std::string &name, double chargingPower, double efficiency, bool chargeInTransit, const double chargeDelay, bool friendlyPosition, bool blockMovement)
Constructor of charging station.
bool myChargeInTransit
enable or disable charge in transit
double myChargingPower
Charging power pro timestep.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
double myChargeDelay
delay in the starting of charge
std::string getAttribute(SumoXMLAttr key) const
GNEChargingStation & operator=(const GNEChargingStation &)=delete
Invalidated assignment operator.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...