<!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: ucommon::LockingProtocol 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="a00208.html">ucommon</a>::<a class="el" href="a00073.html">LockingProtocol</a> </div> </div> <div class="contents"> <h1>ucommon::LockingProtocol Class Reference</h1><!-- doxytag: class="ucommon::LockingProtocol" --> <p>Common locking protocol. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00195_source.html">protocols.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ucommon::LockingProtocol:</div> <div class="dynsection"> <div class="center"><img src="a00421.png" border="0" usemap="#ucommon_1_1_locking_protocol_inherit__map" alt="Inheritance graph"/></div> <map name="ucommon_1_1_locking_protocol_inherit__map" id="ucommon_1_1_locking_protocol_inherit__map"> <area shape="rect" id="node3" href="a00079.html" title="A memory protocol pager for private heap manager." alt="" coords="216,80,408,107"/><area shape="rect" id="node5" href="a00029.html" title="Buffered pager for storing paged strings for character protocol." alt="" coords="5,155,197,181"/><area shape="rect" id="node7" href="a00057.html" title="Traditional keypair config file parsing class." alt="" coords="221,155,403,181"/><area shape="rect" id="node9" href="a00081.html" title="A managed private heap for small allocations." alt="" coords="427,155,619,181"/><area shape="rect" id="node11" href="a00054.html" title="A class to hold memory pointers referenced by string names." alt="" coords="171,229,363,256"/><area shape="rect" id="node15" href="a00060.html" title="A template class for a hash pager." alt="" coords="387,229,659,256"/><area shape="rect" id="node17" href="a00129.html" title="A utility class for generic shell operations." alt="" coords="683,229,845,256"/><area shape="rect" id="node13" href="a00017.html" title="A typed template for using a key association with typed objects." alt="" coords="76,304,457,331"/></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>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb7223e137738aa7cd9dcc67b92e5084"></a><!-- doxytag: member="ucommon::LockingProtocol::_lock" ref="adb7223e137738aa7cd9dcc67b92e5084" args="(void)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>_lock</b> (void)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bbd453965d9ff18ff65e8a4d392995c"></a><!-- doxytag: member="ucommon::LockingProtocol::_unlock" ref="a0bbd453965d9ff18ff65e8a4d392995c" args="(void)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>_unlock</b> (void)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Common locking protocol. </p> <p>This is used for objects that may internally have sync'd functions, directly or in a derived class, that lock the current object. The default handlers do nothing but offer the virtuals as a stub. </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="a00195_source.html#l00112">112</a> of file <a class="el" href="a00195_source.html">protocols.h</a>.</p> <hr/>The documentation for this class was generated from the following file:<ul> <li>ucommon/<a class="el" href="a00195_source.html">protocols.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Jul 14 16:39:42 2011 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>