/usr/share/doc/libucommon-dev/a00072.html is in libucommon-doc 3.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>UCommon: ucc::locked_pointer< T > Class Template Reference</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.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00072.html">locked_pointer</a>
</div>
</div>
<div class="contents">
<h1>ucc::locked_pointer< T > Class Template Reference</h1><!-- doxytag: class="ucc::locked_pointer" --><!-- doxytag: inherits="ucc::LockedPointer" -->
<p>Templated locked pointer for referencing locked objects of specific type.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00208_source.html">thread.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ucc::locked_pointer< T >:</div>
<div class="dynsection">
<div class="center"><img src="a00423.png" border="0" usemap="#ucc_1_1locked__pointer_3_01_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1locked__pointer_3_01_t_01_4_inherit__map" id="ucc_1_1locked__pointer_3_01_t_01_4_inherit__map">
<area shape="rect" id="node2" href="a00074.html" title="An object pointer that uses mutex to assure thread-safe singleton use." alt="" coords="25,5,167,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::locked_pointer< T >:</div>
<div class="dynsection">
<div class="center"><img src="a00424.png" border="0" usemap="#ucc_1_1locked__pointer_3_01_t_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1locked__pointer_3_01_t_01_4_coll__map" id="ucc_1_1locked__pointer_3_01_t_01_4_coll__map">
<area shape="rect" id="node2" href="a00074.html" title="An object pointer that uses mutex to assure thread-safe singleton use." alt="" coords="25,101,167,131"/><area shape="rect" id="node4" href="a00093.html" title="A common base class for all managed objects." alt="" coords="49,5,143,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00072.html#a25f62d2b2bbdbd930cbe38f4177f0f80">dup</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a duplicate reference counted instance of the current typed object. <a href="#a25f62d2b2bbdbd930cbe38f4177f0f80"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8cdb5118016602c81c9aa3598f6a4fd"></a><!-- doxytag: member="ucc::locked_pointer::locked_pointer" ref="ac8cdb5118016602c81c9aa3598f6a4fd" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="a00072.html#ac8cdb5118016602c81c9aa3598f6a4fd">locked_pointer</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an instance of a typed locked pointer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00072.html#a54a2d6759404bbc31e1d339aec3be4fb">operator*</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a duplicate reference counted instance of the current typed object by pointer reference. <a href="#a54a2d6759404bbc31e1d339aec3be4fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00072.html#a422577194a73c204ed44fbb6686dd1b0">operator=</a> (T *object)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace existing object through assignment. <a href="#a422577194a73c204ed44fbb6686dd1b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00072.html#ab62d888966c6062f0d5b8784fe377a6d">replace</a> (T *object)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace existing typed object with a new one for next request. <a href="#ab62d888966c6062f0d5b8784fe377a6d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<class T><br/>
class ucc::locked_pointer< T ></h3>
<p>Templated locked pointer for referencing locked objects of specific type. </p>
<p>This is used as typed template for the <a class="el" href="a00074.html" title="An object pointer that uses mutex to assure thread-safe singleton use.">LockedPointer</a> object reference management class. This is used to supply a typed locked instances to the typed <a class="el" href="a00071.html" title="A templated smart pointer instance for lock protected objects.">locked_instance</a> template class. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl>
<p>Definition at line <a class="el" href="a00208_source.html#l02363">2363</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a25f62d2b2bbdbd930cbe38f4177f0f80"></a><!-- doxytag: member="ucc::locked_pointer::dup" ref="a25f62d2b2bbdbd930cbe38f4177f0f80" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T> </div>
<table class="memname">
<tr>
<td class="memname">T* <a class="el" href="a00072.html">ucc::locked_pointer</a>< T >::dup </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a duplicate reference counted instance of the current typed object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>duplicate reference counted typed object. </dd></dl>
<p>Reimplemented from <a class="el" href="a00074.html#ab6be35e0d4b474daf41cb77d60c0516e">ucc::LockedPointer</a>.</p>
<p>Definition at line <a class="el" href="a00208_source.html#l02376">2376</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
</div>
</div>
<a class="anchor" id="a54a2d6759404bbc31e1d339aec3be4fb"></a><!-- doxytag: member="ucc::locked_pointer::operator*" ref="a54a2d6759404bbc31e1d339aec3be4fb" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T> </div>
<table class="memname">
<tr>
<td class="memname">T* <a class="el" href="a00072.html">ucc::locked_pointer</a>< T >::operator* </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a duplicate reference counted instance of the current typed object by pointer reference. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>duplicate reference counted typed object. </dd></dl>
<p>Definition at line <a class="el" href="a00208_source.html#l02398">2398</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
</div>
</div>
<a class="anchor" id="a422577194a73c204ed44fbb6686dd1b0"></a><!-- doxytag: member="ucc::locked_pointer::operator=" ref="a422577194a73c204ed44fbb6686dd1b0" args="(T *object)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T> </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="a00072.html">ucc::locked_pointer</a>< T >::operator= </td>
<td>(</td>
<td class="paramtype">T * </td>
<td class="paramname"> <em>object</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Replace existing object through assignment. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>to assign. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="a00208_source.html#l02390">2390</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab62d888966c6062f0d5b8784fe377a6d"></a><!-- doxytag: member="ucc::locked_pointer::replace" ref="ab62d888966c6062f0d5b8784fe377a6d" args="(T *object)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T> </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="a00072.html">ucc::locked_pointer</a>< T >::replace </td>
<td>(</td>
<td class="paramtype">T * </td>
<td class="paramname"> <em>object</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Replace existing typed object with a new one for next request. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>to register with pointer. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="a00208_source.html#l02383">2383</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00208_source.html">thread.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:33 2010 for UCommon by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|