CProductCacheHandler Class Reference

The singleton that handles all product caches. More...

#include <mia/core/productcache.hh>

Public Member Functions

void clear_all ()
 clears all registered product caches More...
 
void register_cache (const std::string &name, CProductCache *cache)
 

Static Public Member Functions

static CProductCacheHandlerinstance ()
 

Detailed Description

The singleton that handles all product caches.

Definition at line 117 of file productcache.hh.

Member Function Documentation

◆ clear_all()

void CProductCacheHandler::clear_all ( )

clears all registered product caches

◆ instance()

static CProductCacheHandler& CProductCacheHandler::instance ( )
static
Returns
an instance of the cache handler

◆ register_cache()

void CProductCacheHandler::register_cache ( const std::string &  name,
CProductCache cache 
)

Register a product cache

Parameters
nameof the factory plugin handler
cachethe actual cache

The documentation for this class was generated from the following file: