INET Framework for OMNeT++/OMNEST
|
TODO. More...
#include <ICcEnergySink.h>
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 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... | |
Static Public Attributes | |
static simsignal_t | currentGenerationChangedSignal = cComponent::registerSignal("currentGenerationChanged") |
The signal that is used to publish current generation changes. More... | |
TODO.
See the corresponding NED file for more details.
|
pure virtual |
Returns the total current generation in the range [0, +infinity).
Implemented in inet::power::SimpleCcBattery, and inet::power::CcEnergySinkBase.
|
static |
The signal that is used to publish current generation changes.
Referenced by inet::power::CcEnergyStorageBase::updateTotalCurrentGeneration().