Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIImageCacheReplacementGreedy.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUIIMAGECACHEREPLACEMENTGREEDY_H
11#define GUIIMAGECACHEREPLACEMENTGREEDY_H
12
13#include "GUIImageCacheReplacementPolicy.h"
14
16
21{
22public:
29 eC_Bool Add(const ImageResource_t& eImageID, eC_UInt uiSize);
30
36
41 {
43 }
44
49
52};
53#endif //GUIIMAGECACHEREPLACEMENTGREEDY_H
ImageResource_t
Enumeration of image resource ids.
Definition: GUIImageResource.h:126
Greedy replacement policy for use with the Guiliani image cache.
Definition: GUIImageCacheReplacementGreedy.h:21
CGUIImageCacheReplacementGreedy(CGUIImageCacheReplacementManager *pManager)
ReplacementPolicyType_t GetPolicyType() const
Definition: GUIImageCacheReplacementGreedy.h:40
eC_Bool Add(const ImageResource_t &eImageID, eC_UInt uiSize)
~CGUIImageCacheReplacementGreedy()
Destructor.
Replacement manager for the image cache.
Definition: GUIImageCacheReplacementManager.h:23
Abstract replacement policy for use with the Guiliani image cache.
Definition: GUIImageCacheReplacementPolicy.h:34
ReplacementPolicyType_t
Definition: GUIImageCacheReplacementPolicy.h:22
@ IC_REPLACEMENT_POLICY_GREEDY
Delete biggest image first.
Definition: GUIImageCacheReplacementPolicy.h:24