<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Loki: Cached Factory</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul> </div> </div> <div class="contents"> <h1>Cached Factory<br> <small> [<a class="el" href="a00198.html">Factories</a>]</small> </h1>CachedFactory provides an extension of a Factory with caching support. <a href="#_details">More...</a> <p> <p> <div class="dynheader"> Collaboration diagram for Cached Factory:</div> <div class="dynsection"> </div> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html">Loki::CachedFactory< AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="a00055.html">Factory</a> with caching support. <a href="a00014.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Modules</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00201.html">Encapsulation policies</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Defines how the object is returned to the client. <br></td></tr> <p> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html">Creation policies</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Defines a way to limit the creation operation. <br></td></tr> <p> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00203.html">Eviction policies</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gathers informations about the stored objects and choose a candidate for eviction. <br></td></tr> <p> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html">Statistic policies</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gathers information about the cache. <br></td></tr> <p> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> CachedFactory provides an extension of a Factory with caching support. <p> 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. </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 29 18:51:40 2009 for Loki by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>