Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Application::VideoExcel::ImageCache Class Reference

#include <ImageCache.h>

Collaboration diagram for Impala::Application::VideoExcel::ImageCache:

Collaboration graph
[legend]
List of all members.

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 ImageCacheGetInstance ()

Private Member Functions

 ImageCache (TableDataSource *source, int size)
 ImageCache (ImageCache const &)
ImageCacheoperator= (ImageCache const &)
ImageWithIDGetLeastUsedImageFromCache ()
void UpdateLRU (int index)
void Init (TableDataSource *source, int size)

Private Attributes

int mCacheSize
std::list< int > mLRU
std::vector< ImageWithID * > mImages
TableDataSourcemSource
 ILOG_VAR_DEC

Static Private Attributes

static ImageCachesInstance

Detailed Description

Definition at line 71 of file ImageCache.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:52:59 2010 for ImpalaSrc by  doxygen 1.5.1