INET Framework for OMNeT++/OMNEST
|
This class is a base interface that must be implemented by energy storage models to integrate with other parts of the power model. More...
#include <IEnergyStorage.h>
Additional Inherited Members | |
Public Member Functions inherited from inet::power::IEnergySource | |
virtual | ~IEnergySource () |
virtual int | getNumEnergyConsumers () const =0 |
Returns the number of energy consumers in the range [0, +infinity). More... | |
virtual const IEnergyConsumer * | getEnergyConsumer (int index) const =0 |
Returns the energy consumer for the provided index. More... | |
virtual void | addEnergyConsumer (const IEnergyConsumer *energyConsumer)=0 |
Adds a new energy consumer to the energy source. More... | |
virtual void | removeEnergyConsumer (const IEnergyConsumer *energyConsumer)=0 |
Removes a previously added energy consumer from this energy source. More... | |
Public Member Functions inherited from inet::power::IEnergySink | |
virtual | ~IEnergySink () |
virtual int | getNumEnergyGenerators () const =0 |
Returns the number of energy generators in the range [0, +infinity). More... | |
virtual const IEnergyGenerator * | getEnergyGenerator (int index) const =0 |
Returns the energy generator for the provided index. More... | |
virtual void | addEnergyGenerator (const IEnergyGenerator *energyGenerator)=0 |
Adds a new energy generator to the energy sink. More... | |
virtual void | removeEnergyGenerator (const IEnergyGenerator *energyGenerator)=0 |
Removes a previously added energy generator from this energy sink. More... | |
This class is a base interface that must be implemented by energy storage models to integrate with other parts of the power model.
This interface is extended by various energy storage interfaces. Actual energy storage implementations should implement one of the derived interfaces.
See the corresponding NED file for more details.