20 #ifndef GNEChargingStation_h 21 #define GNEChargingStation_h
SUMOReal getEfficiency()
Returns the charging efficiency of the chargingStation.
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.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SUMOReal myEfficiency
efficiency of the charge
void setChargeInTransit(bool chargeInTransit)
Enable or disable charge in transit in the charging station.
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
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
std::string getAttribute(SumoXMLAttr key) const
SUMOReal myChargingPower
Charging power pro timestep.
GNEChargingStation(const std::string &id, GNELane *lane, GNEViewNet *viewNet, SUMOReal startPos, SUMOReal endPos, SUMOReal chargingPower, SUMOReal efficiency, bool chargeInTransit, const SUMOReal chargeDelay)
Constructor of charging station.
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.
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.
SUMOReal myChargeDelay
delay in the starting of charge
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...