42 std::vector<int>::iterator itFIFO =
m_FIFO.begin();
44 while(itFIFO !=
m_FIFO.end())
virtual void accessed(int value)
Function used to inform that an index was accessed.
This class is used to implement the FIFO cache policy.
std::vector< int > m_FIFO
virtual ~FIFOCachePolicy()
Virtual destructor.
FIFOCachePolicy()
Default constructor.
virtual void added(int value)
Function used to add a new index to be controlled.
virtual void toRemove(int &value)
Function used to check what index has to be removed from the cache.
virtual void update(int value)
Function used to inform that an index must be updated.