Cached Factory
[Factories]

Collaboration diagram for Cached Factory:CachedFactory provides an extension of a Factory with caching support. More...


Modules

 Encapsulation policies
 Defines how the object is returned to the client.
 Creation policies
 Defines a way to limit the creation operation.
 Eviction policies
 Gathers informations about the stored objects and choose a candidate for eviction.
 Statistic policies
 Gathers information about the cache.

Classes

class  Loki::CachedFactory< AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector >
 Factory with caching support. More...


Detailed Description

CachedFactory provides an extension of a Factory with caching support.

Once used objects are returned to the CachedFactory that manages its destruction. If your code uses lots of "long to construct/destruct objects" using the CachedFactory will surely speedup the execution.


Generated on Sun Feb 25 16:52:29 2007 for Loki by  doxygen 1.5.1-p1