osgEarth 2.1.1
|
Public Member Functions | |
AsyncUpdateAccessTime (const TileKey &key, const std::string &cacheId, int timeStamp, Sqlite3Cache *cache) | |
void | operator() (ProgressCallback *progress) |
Public Attributes | |
TileKey | _key |
std::string | _cacheId |
int | _timeStamp |
osg::observer_ptr< Sqlite3Cache > | _cache |
Definition at line 970 of file Sqlite3Cache.cpp.
AsyncUpdateAccessTime::AsyncUpdateAccessTime | ( | const TileKey & | key, |
const std::string & | cacheId, | ||
int | timeStamp, | ||
Sqlite3Cache * | cache | ||
) |
Definition at line 1678 of file Sqlite3Cache.cpp.
: _key(key), _cacheId(cacheId), _timeStamp(timeStamp), _cache(cache) { //nop }
void AsyncUpdateAccessTime::operator() | ( | ProgressCallback * | progress | ) | [virtual] |
Implements osgEarth::TaskRequest.
Definition at line 1684 of file Sqlite3Cache.cpp.
{ osg::ref_ptr<Sqlite3Cache> cache = _cache.get(); if ( cache.valid() ) { //OE_WARN << "AsyncUpdateAccessTime will process " << _key << std::endl; cache->updateAccessTimeSync( _cacheId, _key , _timeStamp ); } }
osg::observer_ptr<Sqlite3Cache> AsyncUpdateAccessTime::_cache |
Definition at line 978 of file Sqlite3Cache.cpp.
std::string AsyncUpdateAccessTime::_cacheId |
Definition at line 976 of file Sqlite3Cache.cpp.
Definition at line 975 of file Sqlite3Cache.cpp.
Definition at line 977 of file Sqlite3Cache.cpp.