26 #ifndef __TERRALIB_GRAPH_INTERNAL_FIFOCACHEPOLICY_H
27 #define __TERRALIB_GRAPH_INTERNAL_FIFOCACHEPOLICY_H
30 #include "../Config.h"
This class is used to set the main functions of a cache policy.
This class is used to set the main functions of a cache policy.
This class is used to implement the FIFO cache policy.
virtual void added(int value)
Function used to add a new index to be controlled.
std::vector< int > m_FIFO
virtual void toRemove(int &value)
Function used to check what index has to be removed from the cache.
FIFOCachePolicy()
Default constructor.
virtual void accessed(int value)
Function used to inform that an index was accessed.
virtual void update(int value)
Function used to inform that an index must be updated.
virtual ~FIFOCachePolicy()
Virtual destructor.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.