26 #ifndef __TERRALIB_GRAPH_INTERNAL_LFUCACHEPOLICYFACTORY_H
27 #define __TERRALIB_GRAPH_INTERNAL_LFUCACHEPOLICYFACTORY_H
31 #include "../Config.h"
This is the abstract factory for cache policy.
This is the abstract factory for cache policy.
This class is used to set the main functions of a cache policy.
This is the concrete factory for the LFU cache policy.
~LFUCachePolicyFactory()
Virtual destructor.
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory ....
LFUCachePolicyFactory()
Default constructor.
te::graph::AbstractCachePolicy * build()
Builds a new cache policy object.
static LFUCachePolicyFactory * sm_factory
Static attribute used to register this factory.
const std::string & getType() const
Returns the type (name) of this factory.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.