Abstract base class for implementing cache invalidation strategy.
More...
#include <qgsconfigcache.h>
|
virtual | ~QgsAbstractCacheStrategy ()=default |
|
virtual void | attach (QgsConfigCache *cache)=0 |
| Attache cache to this strategy.
|
|
virtual void | entryInserted (const QString &path)=0 |
| Called when an entry is removed from cache.
|
|
virtual void | entryRemoved (const QString &path)=0 |
| Called when an entry is removed from cache.
|
|
virtual QString | name () const =0 |
| The name of the strategy.
|
|
Abstract base class for implementing cache invalidation strategy.
- Since
- QGIS 3.26
Definition at line 45 of file qgsconfigcache.h.
◆ ~QgsAbstractCacheStrategy()
virtual QgsAbstractCacheStrategy::~QgsAbstractCacheStrategy |
( |
| ) |
|
|
virtualdefault |
◆ attach()
virtual void QgsAbstractCacheStrategy::attach |
( |
QgsConfigCache * |
cache | ) |
|
|
pure virtual |
◆ entryInserted()
virtual void QgsAbstractCacheStrategy::entryInserted |
( |
const QString & |
path | ) |
|
|
pure virtual |
◆ entryRemoved()
virtual void QgsAbstractCacheStrategy::entryRemoved |
( |
const QString & |
path | ) |
|
|
pure virtual |
◆ name()
virtual QString QgsAbstractCacheStrategy::name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: