INET Framework for OMNeT++/OMNEST
|
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>
Public Member Functions | |
virtual | ~IEnergyManagement () |
virtual IEnergyStorage * | getEnergyStorage () const =0 |
Returns the energy storage that is managed by this energy management. More... | |
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.
|
pure virtual |
Returns the energy storage that is managed by this energy management.
This function never returns nullptr.
Implemented in inet::power::SimpleEpEnergyManagement.