/usr/share/doc/libucommon-dev/a00140.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 | <!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::SharedObject Class 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="a00140.html">SharedObject</a>
</div>
</div>
<div class="contents">
<h1>ucc::SharedObject Class Reference</h1><!-- doxytag: class="ucc::SharedObject" -->
<p><a class="el" href="a00135.html" title="An exclusive locking protocol interface base.">Shared</a> singleton object.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00208_source.html">thread.h</a>></code></p>
<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"><a class="anchor" id="ae107e9f46a3c705e1fa20bcf13495733"></a><!-- doxytag: member="ucc::SharedObject::~SharedObject" ref="ae107e9f46a3c705e1fa20bcf13495733" args="()" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00140.html#ae107e9f46a3c705e1fa20bcf13495733">~SharedObject</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allows inherited virtual. <br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00140.html#ae405ed8fe8445476a89c0177b6162919">commit</a> (<a class="el" href="a00141.html">SharedPointer</a> *<a class="el" href="a00015.html">pointer</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Commit is called when a shared singleton is accepted and replaces a prior instance managed by a shared pointer. <a href="#ae405ed8fe8445476a89c0177b6162919"></a><br/></td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e79bb04903b0ca2802d7c6fcb145e03"></a><!-- doxytag: member="ucc::SharedObject::SharedPointer" ref="a8e79bb04903b0ca2802d7c6fcb145e03" args="" -->
class </td><td class="memItemRight" valign="bottom"><b>SharedPointer</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="a00135.html" title="An exclusive locking protocol interface base.">Shared</a> singleton object. </p>
<p>A shared singleton object is a special kind of object that may be shared by multiple threads but which only one active instance is allowed to exist. The shared object is managed by the templated shared pointer class, and is meant to be inherited as a base class for the derived shared singleton type. </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#l01377">1377</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae405ed8fe8445476a89c0177b6162919"></a><!-- doxytag: member="ucc::SharedObject::commit" ref="ae405ed8fe8445476a89c0177b6162919" args="(SharedPointer *pointer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ucc::SharedObject::commit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00141.html">SharedPointer</a> * </td>
<td class="paramname"> <em>pointer</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Commit is called when a shared singleton is accepted and replaces a prior instance managed by a shared pointer. </p>
<p>Commit occurs when replace is called on the shared pointer, and is assured to happen only when no threads are accessing either the current or the prior instance that was previously protected by the pointer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pointer</em> </td><td>that now holds the object. </td></tr>
</table>
</dd>
</dl>
</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:45 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>
|