INET Framework for OMNeT++/OMNEST
inet::power::IEnergyStorage Class Reference

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>

Inheritance diagram for inet::power::IEnergyStorage:
inet::power::IEnergySource inet::power::IEnergySink inet::power::EnergyStorageBase inet::power::ICcEnergyStorage inet::power::IEpEnergyStorage inet::power::CcEnergyStorageBase inet::power::EpEnergyStorageBase inet::power::SimpleCcBattery inet::power::IdealEpEnergyStorage inet::power::SimpleEpEnergyStorage

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 IEnergyConsumergetEnergyConsumer (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 IEnergyGeneratorgetEnergyGenerator (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...
 

Detailed Description

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.

Author
Levente Meszaros

The documentation for this class was generated from the following file: