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

TODO. More...

#include <ICcEnergySink.h>

Inheritance diagram for inet::power::ICcEnergySink:
inet::power::IEnergySink inet::power::CcEnergySinkBase inet::power::ICcEnergyStorage inet::power::CcEnergyStorageBase inet::power::CcEnergyStorageBase inet::power::SimpleCcBattery inet::power::SimpleCcBattery

Public Member Functions

virtual A getTotalCurrentGeneration () const =0
 Returns the total current 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 currentGenerationChangedSignal = cComponent::registerSignal("currentGenerationChanged")
 The signal that is used to publish current generation changes. More...
 

Detailed Description

TODO.

See the corresponding NED file for more details.

Author
Levente Meszaros

Member Function Documentation

virtual A inet::power::ICcEnergySink::getTotalCurrentGeneration ( ) const
pure virtual

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

Implemented in inet::power::SimpleCcBattery, and inet::power::CcEnergySinkBase.

Member Data Documentation

simsignal_t inet::power::ICcEnergySink::currentGenerationChangedSignal = cComponent::registerSignal("currentGenerationChanged")
static

The signal that is used to publish current generation changes.

Referenced by inet::power::CcEnergyStorageBase::updateTotalCurrentGeneration().


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