osgEarth 2.1.1
|
Public Member Functions | |
AsyncPurge (const std::string &layerName, int olderThanUTC, Cache *cache) | |
void | operator() (ProgressCallback *progress) |
Public Attributes | |
std::string | _layerName |
int | _olderThanUTC |
osg::observer_ptr< Cache > | _cache |
Definition at line 938 of file Sqlite3Cache.cpp.
AsyncPurge::AsyncPurge | ( | const std::string & | layerName, |
int | olderThanUTC, | ||
Cache * | cache | ||
) | [inline] |
Definition at line 939 of file Sqlite3Cache.cpp.
: _layerName(layerName), _olderThanUTC(olderThanUTC), _cache(cache) { }
void AsyncPurge::operator() | ( | ProgressCallback * | progress | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 942 of file Sqlite3Cache.cpp.
{ osg::ref_ptr<Cache> cache = _cache.get(); if ( cache.valid() ) cache->purge( _layerName, _olderThanUTC, false ); }
osg::observer_ptr<Cache> AsyncPurge::_cache |
Definition at line 950 of file Sqlite3Cache.cpp.
std::string AsyncPurge::_layerName |
Definition at line 948 of file Sqlite3Cache.cpp.
Definition at line 949 of file Sqlite3Cache.cpp.