#include <image_cache.h>
Definition at line 100 of file image_cache.h.
tile_map::ImageCache::ImageCache |
( |
const QString & |
cache_dir, |
|
|
size_t |
size = 4096 |
|
) |
| |
|
explicit |
tile_map::ImageCache::~ImageCache |
( |
| ) |
|
void tile_map::ImageCache::Clear |
( |
| ) |
|
|
slot |
ImagePtr tile_map::ImageCache::GetImage |
( |
size_t |
uri_hash, |
|
|
const QString & |
uri, |
|
|
int32_t |
priority = 0 |
|
) |
| |
void tile_map::ImageCache::NetworkError |
( |
QNetworkReply::NetworkError |
error | ) |
|
|
slot |
void tile_map::ImageCache::ProcessReply |
( |
QNetworkReply * |
reply | ) |
|
|
slot |
void tile_map::ImageCache::ProcessRequest |
( |
QString |
uri | ) |
|
|
slot |
QCache<size_t, ImagePtr> tile_map::ImageCache::cache_ |
|
private |
QString tile_map::ImageCache::cache_dir_ |
|
private |
QMutex tile_map::ImageCache::cache_mutex_ |
|
private |
bool tile_map::ImageCache::exit_ |
|
private |
QSet<size_t> tile_map::ImageCache::failed_ |
|
private |
const int tile_map::ImageCache::MAXIMUM_NETWORK_REQUESTS = 6 |
|
staticprivate |
QNetworkAccessManager tile_map::ImageCache::network_manager_ |
|
private |
QSemaphore tile_map::ImageCache::network_request_semaphore_ |
|
private |
uint64_t tile_map::ImageCache::tick_ |
|
private |
QMap<size_t, ImagePtr> tile_map::ImageCache::unprocessed_ |
|
private |
QMutex tile_map::ImageCache::unprocessed_mutex_ |
|
private |
QMap<QString, size_t> tile_map::ImageCache::uri_to_hash_map_ |
|
private |
The documentation for this class was generated from the following files: