#include <image_cache.h>
Public Member Functions | |
| void | AddFailure () |
| void | ClearImage () |
| bool | Failed () const |
| boost::shared_ptr< QImage > | GetImage () |
| Image (const QString &uri, size_t uri_hash, uint64_t priority=0) | |
| void | IncreasePriority () |
| void | InitializeImage () |
| bool | Loading () const |
| uint64_t | Priority () const |
| void | SetLoading (bool loading) |
| void | SetPriority (uint64_t priority) |
| QString | Uri () const |
| size_t | UriHash () const |
| ~Image () | |
Private Attributes | |
| bool | failed_ |
| int32_t | failures_ |
| boost::shared_ptr< QImage > | image_ |
| bool | loading_ |
| uint64_t | priority_ |
| QString | uri_ |
| size_t | uri_hash_ |
Static Private Attributes | |
| static const int | MAXIMUM_FAILURES = 5 |
Definition at line 54 of file image_cache.h.
| tile_map::Image::Image | ( | const QString & | uri, |
| size_t | uri_hash, | ||
| uint64_t | priority = 0 |
||
| ) |
Definition at line 52 of file image_cache.cpp.
| tile_map::Image::~Image | ( | ) |
Definition at line 62 of file image_cache.cpp.
| void tile_map::Image::AddFailure | ( | ) |
Definition at line 76 of file image_cache.cpp.
| void tile_map::Image::ClearImage | ( | ) |
Definition at line 71 of file image_cache.cpp.
|
inline |
Definition at line 69 of file image_cache.h.
|
inline |
Definition at line 63 of file image_cache.h.
|
inline |
Definition at line 71 of file image_cache.h.
| void tile_map::Image::InitializeImage | ( | ) |
Definition at line 66 of file image_cache.cpp.
|
inline |
Definition at line 81 of file image_cache.h.
|
inline |
Definition at line 79 of file image_cache.h.
|
inline |
Definition at line 82 of file image_cache.h.
|
inline |
Definition at line 78 of file image_cache.h.
|
inline |
Definition at line 60 of file image_cache.h.
|
inline |
Definition at line 61 of file image_cache.h.
|
private |
Definition at line 91 of file image_cache.h.
|
private |
Definition at line 90 of file image_cache.h.
|
mutableprivate |
Definition at line 94 of file image_cache.h.
|
private |
Definition at line 89 of file image_cache.h.
|
staticprivate |
Definition at line 96 of file image_cache.h.
|
private |
Definition at line 92 of file image_cache.h.
|
private |
Definition at line 85 of file image_cache.h.
|
private |
Definition at line 87 of file image_cache.h.