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