This class is used to implement the FIFO cache policy.
More...
#include <FIFOCachePolicy.h>
|
| FIFOCachePolicy () |
| Default constructor. More...
|
|
virtual | ~FIFOCachePolicy () |
| Virtual destructor. More...
|
|
|
Method used to access the cache policy
|
virtual void | added (int value) |
| Function used to add a new index to be controlled. More...
|
|
virtual void | update (int value) |
| Function used to inform that an index must be updated. More...
|
|
virtual void | toRemove (int &value) |
| Function used to check what index has to be removed from the cache. More...
|
|
virtual void | accessed (int value) |
| Function used to inform that an index was accessed. More...
|
|
This class is used to implement the FIFO cache policy.
- See also
- AbstractCachePolicy
Definition at line 48 of file FIFOCachePolicy.h.
te::graph::FIFOCachePolicy::FIFOCachePolicy |
( |
| ) |
|
virtual te::graph::FIFOCachePolicy::~FIFOCachePolicy |
( |
| ) |
|
|
virtual |
virtual void te::graph::FIFOCachePolicy::accessed |
( |
int |
value | ) |
|
|
virtual |
virtual void te::graph::FIFOCachePolicy::added |
( |
int |
value | ) |
|
|
virtual |
virtual void te::graph::FIFOCachePolicy::toRemove |
( |
int & |
value | ) |
|
|
virtual |
virtual void te::graph::FIFOCachePolicy::update |
( |
int |
value | ) |
|
|
virtual |
std::vector<int> te::graph::FIFOCachePolicy::m_FIFO |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/graph/cache/FIFOCachePolicy.h