osgEarth 2.1.1
Public Member Functions | Public Attributes

AsyncPurge Struct Reference

Inheritance diagram for AsyncPurge:
Collaboration diagram for AsyncPurge:

List of all members.

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

Detailed Description

Definition at line 938 of file Sqlite3Cache.cpp.


Constructor & Destructor Documentation

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) { }

Member Function Documentation

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 );
    }

Member Data Documentation

osg::observer_ptr<Cache> AsyncPurge::_cache

Definition at line 950 of file Sqlite3Cache.cpp.

Definition at line 948 of file Sqlite3Cache.cpp.

Definition at line 949 of file Sqlite3Cache.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines