20 #ifndef GNEChargingStation_h 21 #define GNEChargingStation_h
SUMOReal getEfficiency()
Returns the charging efficiency of the chargingStation.
int myChargeDelay
delay in the starting of charge
bool getChargeInTransit()
Returns the value of charge in transit of the chargingStation.
Stores the information about how to visualize structures.
SUMOReal getChargeDelay()
Returns the charge delay of the chargingStation.
A NBNetBuilder extended by visualisation and editing capabilities.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SUMOReal getChargingPower()
Returns the charging power of the chargingStation.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
SUMOReal myEfficiency
efficiency of the charge
void setChargeInTransit(bool chargeInTransit)
Enable or disable charge in transit in the charging station.
void writeAdditional(OutputDevice &device, const std::string &)
writte additional element into a xml file
void updateGeometry()
update pre-computed geometry information
void setChargeDelay(SUMOReal chargeDelay)
Set a new charge delay in the charging station.
~GNEChargingStation()
Destructor.
bool myChargeInTransit
enable or disable charge in transit
SUMOReal 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
GNEChargingStation & operator=(const GNEChargingStation &)
Invalidated assignment operator.
GNEChargingStation(const std::string &id, GNELane *lane, GNEViewNet *viewNet, SUMOReal startPos, SUMOReal endPos, SUMOReal chargingPower, SUMOReal efficiency, bool chargeInTransit, int chargeDelay, bool blocked)
Constructor of charging station.
std::string getAttribute(SumoXMLAttr key) const
void setEfficiency(SUMOReal efficiency)
Set a new efficiency in the charging station.
Static storage of an output device and its base (abstract) implementation.
void setChargingPower(SUMOReal chargingPower)
Set a new charging power in the charging station.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...