osgEarth 2.1.1
|
Public Member Functions | |
AsyncInsert (const TileKey &key, const CacheSpec &spec, const osg::Image *image, AsyncCache *cache) | |
void | operator() (ProgressCallback *progress) |
Public Attributes | |
CacheSpec | _cacheSpec |
TileKey | _key |
osg::ref_ptr< const osg::Image > | _image |
osg::observer_ptr< AsyncCache > | _cache |
Definition at line 953 of file Sqlite3Cache.cpp.
AsyncInsert::AsyncInsert | ( | const TileKey & | key, |
const CacheSpec & | spec, | ||
const osg::Image * | image, | ||
AsyncCache * | cache | ||
) | [inline] |
Definition at line 954 of file Sqlite3Cache.cpp.
: _cacheSpec(spec), _key(key), _image(image), _cache(cache) { }
void AsyncInsert::operator() | ( | ProgressCallback * | progress | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 957 of file Sqlite3Cache.cpp.
{ osg::ref_ptr<AsyncCache> cache = _cache.get(); if ( cache.valid() ) cache->setImageSync( _key, _cacheSpec, _image.get() ); }
osg::observer_ptr<AsyncCache> AsyncInsert::_cache |
Definition at line 966 of file Sqlite3Cache.cpp.
Definition at line 963 of file Sqlite3Cache.cpp.
osg::ref_ptr<const osg::Image> AsyncInsert::_image |
Definition at line 965 of file Sqlite3Cache.cpp.
Definition at line 964 of file Sqlite3Cache.cpp.