/usr/share/doc/libucommon-dev/a00135.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 | <!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::Shared 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="a00135.html">Shared</a>
</div>
</div>
<div class="contents">
<h1>ucc::Shared Class Reference</h1><!-- doxytag: class="ucc::Shared" -->
<p>An exclusive locking protocol interface base.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00185_source.html">access.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ucc::Shared:</div>
<div class="dynsection">
<div class="center"><img src="a00523.png" border="0" usemap="#ucc_1_1_shared_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1_shared_inherit__map" id="ucc_1_1_shared_inherit__map">
<area shape="rect" id="node3" href="a00042.html" title="An optimized and convertable shared lock." alt="" coords="5,83,157,112"/><area shape="rect" id="node5" href="a00115.html" title="A generic and portable implimentation of Read/Write locking." alt="" coords="181,83,272,112"/><area shape="rect" id="node7" href="a00132.html" title="A portable counting semaphore class." alt="" coords="296,83,421,112"/></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">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00135.html#adee2402386a18c22b1acd4dc29b53237">Exclusive</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert object to an exclusive lock. <a href="#adee2402386a18c22b1acd4dc29b53237"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66bf8c2543d85811c0d10106dfe8fbf2"></a><!-- doxytag: member="ucc::Shared::Lock" ref="a66bf8c2543d85811c0d10106dfe8fbf2" args="(void)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00135.html#a66bf8c2543d85811c0d10106dfe8fbf2">Lock</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A convience member function for accessing the shared lock. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00135.html#a1ba74aab1d376ee7521d7989b4d86f28">Share</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Share the lock with other referencers. <a href="#a1ba74aab1d376ee7521d7989b4d86f28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71cd7fc1ae1ae11106f91f0793e351a7"></a><!-- doxytag: member="ucc::Shared::Shlock" ref="a71cd7fc1ae1ae11106f91f0793e351a7" args="(void)=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00135.html#a71cd7fc1ae1ae11106f91f0793e351a7">Shlock</a> (void)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Protocol interface to share lock the object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4de5bcb4dd1285f3a20c2ccca95b945c"></a><!-- doxytag: member="ucc::Shared::Unlock" ref="a4de5bcb4dd1285f3a20c2ccca95b945c" args="(void)=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00135.html#a4de5bcb4dd1285f3a20c2ccca95b945c">Unlock</a> (void)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Protocol interface to release a lock. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An exclusive locking protocol interface base. </p>
<p>This is an abstract class to form objects that will operate under an exclusive lock while being activily referenced by a smart pointer. </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="a00185_source.html#l00079">79</a> of file <a class="el" href="a00185_source.html">access.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adee2402386a18c22b1acd4dc29b53237"></a><!-- doxytag: member="ucc::Shared::Exclusive" ref="adee2402386a18c22b1acd4dc29b53237" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ucc::Shared::Exclusive </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Convert object to an exclusive lock. </p>
<p>Many of our shared locking objects such as the "conditional lock" support the ability to switch between shared and exclusive locking modes. This derived protocol member allows one to temporarily assert exclusive locking when tied to such methods. </p>
</div>
</div>
<a class="anchor" id="a1ba74aab1d376ee7521d7989b4d86f28"></a><!-- doxytag: member="ucc::Shared::Share" ref="a1ba74aab1d376ee7521d7989b4d86f28" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ucc::Shared::Share </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Share the lock with other referencers. </p>
<p>Many of our shared locking objects support the ability to switch between shared and exclusive mode. This derived protocol member allows one to restore the lock to shared mode after it has been made exclusive. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00185_source.html">access.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>
|