|
QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
File system cache strategy for server configuration. More...
#include <qgsconfigcache.h>

Public Member Functions | |
| QgsFileSystemCacheStrategy () | |
| Creates a new filesystem strategy. More... | |
| void | attach (QgsConfigCache *cache) override |
| Attach cache to this strategy. More... | |
| void | entryInserted (const QString &path) override |
| Called when an entry is inserted. More... | |
| void | entryRemoved (const QString &path) override |
| Called when an entry is removed from cache. More... | |
| QString | name () const override |
| The name of the strategy. More... | |
Public Member Functions inherited from QgsAbstractCacheStrategy | |
| virtual | ~QgsAbstractCacheStrategy ()=default |
| virtual void | attach (QgsConfigCache *cache)=0 |
| Attache cache to this strategy. More... | |
| virtual void | entryInserted (const QString &path)=0 |
| Called when an entry is removed from cache. More... | |
| virtual void | entryRemoved (const QString &path)=0 |
| Called when an entry is removed from cache. More... | |
| virtual QString | name () const =0 |
| The name of the strategy. More... | |
File system cache strategy for server configuration.
Definition at line 168 of file qgsconfigcache.h.
| QgsFileSystemCacheStrategy::QgsFileSystemCacheStrategy | ( | ) |
Creates a new filesystem strategy.
Definition at line 281 of file qgsconfigcache.cpp.
|
overridevirtual |
Attach cache to this strategy.
Implements QgsAbstractCacheStrategy.
Definition at line 285 of file qgsconfigcache.cpp.
|
overridevirtual |
Called when an entry is inserted.
| path | The path of the project |
Implements QgsAbstractCacheStrategy.
Definition at line 295 of file qgsconfigcache.cpp.
|
overridevirtual |
Called when an entry is removed from cache.
| path | The path of the project |
Implements QgsAbstractCacheStrategy.
Definition at line 290 of file qgsconfigcache.cpp.
|
inlineoverridevirtual |
The name of the strategy.
Implements QgsAbstractCacheStrategy.
Definition at line 175 of file qgsconfigcache.h.