#include <ImageCache.h>
Collaboration diagram for Impala::Application::VideoExcel::ImageCache:
Public Types | |
typedef Impala::Core::Array::Array2dVec3UInt8 | Array2dVec3UInt8 |
typedef std::pair< int, OGLIMAGE * > | ImageWithID |
Public Member Functions | |
OGLIMAGE * | GetImage (int id, String column) |
OGLIMAGE * | GetImageFromCache (int id, String column) |
OGLIMAGE * | LoadImage (int id, String column) |
bool | IsLoadingImages () |
int | GetImageCacheMaxSize () |
void | PreloadCache () |
Static Public Member Functions | |
static void | InitializeCache (TableDataSource *source, int size) |
static ImageCache * | GetInstance () |
Private Member Functions | |
ImageCache (TableDataSource *source, int size) | |
ImageCache (ImageCache const &) | |
ImageCache & | operator= (ImageCache const &) |
ImageWithID * | GetLeastUsedImageFromCache () |
void | UpdateLRU (int index) |
void | Init (TableDataSource *source, int size) |
Private Attributes | |
int | mCacheSize |
std::list< int > | mLRU |
std::vector< ImageWithID * > | mImages |
TableDataSource * | mSource |
ILOG_VAR_DEC | |
Static Private Attributes | |
static ImageCache * | sInstance |
Definition at line 71 of file ImageCache.h.