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

This class is a base interface that must be implemented by energy management models to integrate with other parts of the power model. More...

#include <IEnergyManagement.h>

Inheritance diagram for inet::power::IEnergyManagement:
inet::power::ICcEnergyManagement inet::power::IEpEnergyManagement inet::power::SimpleEpEnergyManagement

Public Member Functions

virtual ~IEnergyManagement ()
 
virtual IEnergyStoragegetEnergyStorage () const =0
 Returns the energy storage that is managed by this energy management. More...
 

Detailed Description

This class is a base interface that must be implemented by energy management models to integrate with other parts of the power model.

This interface is extended by various energy storage interfaces. Actual energy storage implementations should implement one of the derived interfaces.

See the corresponding NED file for more details.

Author
Levente Meszaros

Constructor & Destructor Documentation

virtual inet::power::IEnergyManagement::~IEnergyManagement ( )
inlinevirtual
40 {}

Member Function Documentation

virtual IEnergyStorage* inet::power::IEnergyManagement::getEnergyStorage ( ) const
pure virtual

Returns the energy storage that is managed by this energy management.

This function never returns nullptr.

Implemented in inet::power::SimpleEpEnergyManagement.


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