1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Loki: Loki::DeletableSingleton< T > Struct Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<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 id="current"><a href="classes.html"><span>Classes</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 class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="a00764.html">Loki</a>::<a class="el" href="a00660.html">DeletableSingleton</a></div>
<h1>Loki::DeletableSingleton< T > Struct Template Reference<br>
<small>
[<a class="el" href="a00777.html">Lifetime policies</a>]</small>
</h1><!-- doxytag: class="Loki::DeletableSingleton" --><code>#include <Singleton.h></code>
<p>
<a href="a00196.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="626c2dc57146f1aea6bf911682f8e3e9"></a><!-- doxytag: member="Loki::DeletableSingleton::GracefulDelete" ref="626c2dc57146f1aea6bf911682f8e3e9" args="()" -->
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00660.html#626c2dc57146f1aea6bf911682f8e3e9">GracefulDelete</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">delete singleton object manually <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<class T><br>
struct Loki::DeletableSingleton< T ></h3>
A <a class="el" href="a00660.html">DeletableSingleton</a> allows the instantiated singleton to be destroyed at any time. The singleton can be reinstantiated at any time, even during program termination. If the singleton exists when the program terminates, it will be automatically deleted.<p>
<dl compact><dt><b>Usage: </b></dt><dd>The singleton can be deleted manually:</dd></dl>
<a class="el" href="a00660.html#626c2dc57146f1aea6bf911682f8e3e9">DeletableSingleton<MyClass>::GracefulDelete()</a>;
<p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>Singleton.h</ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 15:14:44 2006 for Loki by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>
|