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

TODO. More...

#include <ICcEnergyConsumer.h>

Inheritance diagram for inet::power::ICcEnergyConsumer:
inet::power::IEnergyConsumer inet::physicallayer::StateBasedCcEnergyConsumer

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 IEnergySourcegetEnergySource () 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...
 

Detailed Description

TODO.

See the corresponding NED file for more details.

Author
Levente Meszaros

Member Function Documentation

virtual A inet::power::ICcEnergyConsumer::getCurrentConsumption ( ) const
pure virtual

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

Implemented in inet::physicallayer::StateBasedCcEnergyConsumer.

Member Data Documentation

simsignal_t inet::power::ICcEnergyConsumer::currentConsumptionChangedSignal = cComponent::registerSignal("currentConsumptionChanged")
static

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