This is the abstract factory for cache policy.  
 More...
#include <AbstractCachePolicyFactory.h>
 | 
| std::string  | m_factoryKey | 
|   | The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More...
  | 
|   | 
This is the abstract factory for cache policy. 
- See also
 - AbstractGraph 
 
Definition at line 49 of file AbstractCachePolicyFactory.h.
 
  
  
      
        
          | virtual te::graph::AbstractCachePolicyFactory::~AbstractCachePolicyFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | te::graph::AbstractCachePolicyFactory::AbstractCachePolicyFactory  | 
          ( | 
          const std::string &  | 
          factoryKey | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Constructor. 
- Parameters
 - 
  
    | factoryKey | The key that identifies the factory.  | 
  
   
 
 
  
  | 
      
   | 
  
protectedpure virtualinherited   | 
  
 
 
It returns a reference to the internal dictionary of concrete factories. 
The dictionary is a singleton.
- Returns
 - A reference to the internal dictionary. 
 
 
 
It returns the factory key associated to the concreate factory. 
- Returns
 - The factory key associated to the concreate factory. 
 
 
 
  
  
      
        
          | virtual const std::string& te::graph::AbstractCachePolicyFactory::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
It creates and returns default cache policy. 
- Returns
 - A default cache policy
 
- Note
 - The caller will take the ownership of the returned pointer. 
 
 
 
  
  
      
        
          | static AbstractCachePolicy* te::graph::AbstractCachePolicyFactory::make  | 
          ( | 
          const std::string &  | 
          cpType | ) | 
           | 
         
       
   | 
  
static   | 
  
 
It creates a cache policy with the proper type. 
- Parameters
 - 
  
    | cpType | The name of the specific cache policy. | 
  
   
- Returns
 - A specific cache policy
 
- Note
 - The caller will take the ownership of the returned pointer. 
 
 
 
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. 
Definition at line 136 of file AbstractFactory.h.
 
 
The documentation for this class was generated from the following file: