INET Framework for OMNeT++/OMNEST
|
TODO. More...
#include <ICcEnergyConsumer.h>
Public Member Functions | |
virtual A | getCurrentConsumption () const =0 |
Returns the current consumption in the range [0, +infinity). More... | |
Public Member Functions inherited from inet::power::IEnergyConsumer | |
virtual | ~IEnergyConsumer () |
virtual IEnergySource * | getEnergySource () const =0 |
Returns the energy source that provides energy for this energy consumer. More... | |
Static Public Attributes | |
static simsignal_t | currentConsumptionChangedSignal = cComponent::registerSignal("currentConsumptionChanged") |
The signal that is used to publish current consumption changes. More... | |
TODO.
See the corresponding NED file for more details.
|
pure virtual |
Returns the current consumption in the range [0, +infinity).
Implemented in inet::physicallayer::StateBasedCcEnergyConsumer.
|
static |
The signal that is used to publish current consumption changes.
Referenced by inet::power::CcEnergySourceBase::addEnergyConsumer(), inet::power::CcEnergyStorageBase::receiveSignal(), inet::physicallayer::StateBasedCcEnergyConsumer::receiveSignal(), and inet::power::CcEnergySourceBase::removeEnergyConsumer().