<!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: LockingProtocol Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ucommon</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.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 id="navrow2" class="tabs2"> <ul class="tablist"> <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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00071.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>LockingProtocol Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="LockingProtocol" --> <p>Common locking protocol. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00194_source.html">protocols.h</a>></code></p> <div class="dynheader"> Inheritance diagram for LockingProtocol:</div> <div class="dyncontent"> <div class="center"><img src="a00355.png" border="0" usemap="#_locking_protocol_inherit__map" alt="Inheritance graph"/></div> <map name="_locking_protocol_inherit__map" id="_locking_protocol_inherit__map"> <area shape="rect" id="node3" href="a00077.html" title="A memory protocol pager for private heap manager." alt="" coords="145,80,247,107"/><area shape="rect" id="node5" href="a00027.html" title="Buffered pager for storing paged strings for character protocol." alt="" coords="25,155,127,181"/><area shape="rect" id="node7" href="a00056.html" title="Traditional keypair config file parsing class." alt="" coords="151,155,241,181"/><area shape="rect" id="node9" href="a00079.html" title="A managed private heap for small allocations." alt="" coords="265,155,367,181"/><area shape="rect" id="node11" href="a00053.html" title="A class to hold memory pointers referenced by string names." alt="" coords="100,229,201,256"/><area shape="rect" id="node15" href="a00059.html" title="A template class for a hash pager." alt="" coords="225,229,407,256"/><area shape="rect" id="node17" href="a00130.html" title="A utility class for generic shell operations." alt="" coords="431,229,503,256"/><area shape="rect" id="node13" href="a00015.html" title="A typed template for using a key association with typed objects." alt="" coords="5,304,296,331"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e0ce6c772900125579f40f2b953c903"></a><!-- doxytag: member="LockingProtocol::_lock" ref="a8e0ce6c772900125579f40f2b953c903" 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="a7606641cd3e7d55bc911c7643953c032"></a><!-- doxytag: member="LockingProtocol::_unlock" ref="a7606641cd3e7d55bc911c7643953c032" 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> <div class="textblock"><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="a00194_source.html#l00112">112</a> of file <a class="el" href="a00194_source.html">protocols.h</a>.</p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li>ucommon/<a class="el" href="a00194_source.html">protocols.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a00071.html">LockingProtocol</a> </li> <li class="footer">Generated on Wed Apr 13 2011 22:39:47 for ucommon by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>