INET Framework for OMNeT++/OMNEST
|
TODO. More...
#include <ICcEnergyGenerator.h>
Public Member Functions | |
virtual A | getCurrentGeneration () const =0 |
Returns the current generation in the range [0, +infinity). More... | |
Public Member Functions inherited from inet::power::IEnergyGenerator | |
virtual | ~IEnergyGenerator () |
virtual IEnergySink * | getEnergySink () const =0 |
Returns the energy sink that absorbs energy from this energy generator. 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 current generation in the range [0, +infinity).
|
static |
The signal that is used to publish current generation changes.
Referenced by inet::power::CcEnergySinkBase::addEnergyGenerator(), inet::power::CcEnergyStorageBase::receiveSignal(), and inet::power::CcEnergySinkBase::removeEnergyGenerator().