Classes | |
| class | Loki::CachedFactory< AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector > |
| 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. | |
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.
1.5.8