30 #ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTCACHEPOLICY_H
31 #define __TERRALIB_GRAPH_INTERNAL_ABSTRACTCACHEPOLICY_H
34 #include "../Config.h"
76 virtual void added(
int value) = 0;
This class is used to set the main functions of a cache policy.
virtual ~AbstractCachePolicy()
Virtual destructor.
virtual void accessed(int value)=0
Function used to inform that an index was accessed.
virtual void added(int value)=0
Function used to add a new index to be controlled.
virtual void update(int value)=0
Function used to inform that an index must be updated.
virtual void toRemove(int &value)=0
Function used to check what index has to be removed from the cache.
AbstractCachePolicy()
Default constructor.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.