INET Framework for OMNeT++/OMNEST
|
#include <EnergyStorageBase.h>
Additional Inherited Members | |
Public Member Functions inherited from inet::power::EnergySourceBase | |
virtual int | getNumEnergyConsumers () const override |
Returns the number of energy consumers in the range [0, +infinity). More... | |
virtual const IEnergyConsumer * | getEnergyConsumer (int index) const override |
Returns the energy consumer for the provided index. More... | |
virtual void | addEnergyConsumer (const IEnergyConsumer *energyConsumer) override |
Adds a new energy consumer to the energy source. More... | |
virtual void | removeEnergyConsumer (const IEnergyConsumer *energyConsumer) override |
Removes a previously added energy consumer from this energy source. More... | |
Public Member Functions inherited from inet::power::IEnergySource | |
virtual | ~IEnergySource () |
Public Member Functions inherited from inet::power::EnergySinkBase | |
virtual int | getNumEnergyGenerators () const override |
Returns the number of energy generators in the range [0, +infinity). More... | |
virtual const IEnergyGenerator * | getEnergyGenerator (int index) const override |
Returns the energy generator for the provided index. More... | |
virtual void | addEnergyGenerator (const IEnergyGenerator *energyGenerator) override |
Adds a new energy generator to the energy sink. More... | |
virtual void | removeEnergyGenerator (const IEnergyGenerator *energyGenerator) override |
Removes a previously added energy generator from this energy sink. More... | |
Public Member Functions inherited from inet::power::IEnergySink | |
virtual | ~IEnergySink () |
Protected Attributes inherited from inet::power::EnergySourceBase | |
std::vector< const IEnergyConsumer * > | energyConsumers |
Protected Attributes inherited from inet::power::EnergySinkBase | |
std::vector< const IEnergyGenerator * > | energyGenerators |