INET Framework for OMNeT++/OMNEST
inet::power::IEpEnergySink Class Referenceabstract

TODO. More...

#include <IEpEnergySink.h>

Inheritance diagram for inet::power::IEpEnergySink:
inet::power::IEnergySink inet::power::EpEnergySinkBase inet::power::IEpEnergyStorage inet::power::EpEnergyStorageBase inet::power::EpEnergyStorageBase inet::power::IdealEpEnergyStorage inet::power::SimpleEpEnergyStorage inet::power::IdealEpEnergyStorage inet::power::SimpleEpEnergyStorage

Public Member Functions

virtual W getTotalPowerGeneration () const =0
 Returns the total power generation in the range [0, +infinity). 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...
 

Static Public Attributes

static simsignal_t powerGenerationChangedSignal = cComponent::registerSignal("powerGenerationChanged")
 The signal that is used to publish power generation changes. More...
 

Detailed Description

TODO.

See the corresponding NED file for more details.

Author
Levente Meszaros

Member Function Documentation

virtual W inet::power::IEpEnergySink::getTotalPowerGeneration ( ) const
pure virtual

Returns the total power generation in the range [0, +infinity).

Implemented in inet::power::EpEnergySinkBase.

Referenced by inet::power::SimpleEpEnergyManagement::scheduleLifecycleOperationTimer().

Member Data Documentation

simsignal_t inet::power::IEpEnergySink::powerGenerationChangedSignal = cComponent::registerSignal("powerGenerationChanged")
static

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