Replacement manager for the image cache. More...
#include <GUIImageCacheReplacementManager.h>
Public Member Functions | |
virtual | ~CGUIImageCacheReplacementManager () |
Destructor. | |
virtual eC_Bool | AddAtFront (const ImageResource_t &eImageID, eC_UInt uiSize)=0 |
virtual eC_Bool | AddSortedBySize (const ImageResource_t &eImageID, eC_UInt uiSize)=0 |
virtual eC_Bool | BringToFront (const ImageResource_t &eImageID)=0 |
virtual eC_Bool | Contains (const ImageResource_t &eImageID) const =0 |
virtual eC_UInt | GetQuantity () const =0 |
virtual eC_UInt | GetSize () const =0 |
virtual eC_Bool | IsEmpty () const =0 |
virtual eC_Bool | Remove (const ImageResource_t &eImageID)=0 |
virtual ImageResource_t | RemoveFromEnd ()=0 |
Replacement manager for the image cache.
Provides the methods used by replacement policies to provide image cache implementation specific services.
|
pure virtual |
Adds an image as the "first" item
eImageID | the ID of the image to be added. |
uiSize | the size of the image to be added |
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Adds an image sorted by size
eImageID | the ID of the image to be added |
uiSize | the size of the image to be added |
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Moves an image to be the first item
eImageID | the ID of the image to be moved |
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Determines if an image resides in the part of the cache managed by the manager
eImageID | the image's ID |
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Determines the number of items the part of the cache managed by the manager
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Determines the size of the part of the cache managed by the manager
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Determines if the part of the cache managed by the manager is empty
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Removes a specific image
eImageID | the ID of the image to be removed |
Implemented in CGUIImageCacheReplacementManagerImpl.
|
pure virtual |
Removes the "last" image
Implemented in CGUIImageCacheReplacementManagerImpl.