Share Library (C++)
File detail
Source code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ShareLibrary: Share::MutexLock Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="nav">
<a class="el" href="namespaceShare.html">Share</a>::<a class="el" href="classShare_1_1MutexLock.html">MutexLock</a></div>
<h1>Share::MutexLock Class Reference<br>
<small>
[<a class="el" href="group__backend.html">Internal library classes</a>]</small>
</h1><!-- doxytag: class="Share::MutexLock" --><a class="el" href="classShare_1_1Mutex.html" title="Platform-independent mutex representation.">Mutex</a> lock RAII object.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="MutexLock_8h-source.html">MutexLock.h</a>></code>
<p>
Collaboration diagram for Share::MutexLock:<p><center><img src="classShare_1_1MutexLock__coll__graph.png" border="0" usemap="#Share_1_1MutexLock__coll__map" alt="Collaboration graph"></center>
<map name="Share_1_1MutexLock__coll__map">
<area shape="rect" href="structShare_1_1Mutex_1_1LockData.html" title="Mutex per-lock specific data." alt="" coords="6,5,195,32"><area shape="rect" href="classShare_1_1Mutex.html" title="Platform-independent mutex representation." alt="" coords="219,5,334,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classShare_1_1MutexLock-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classShare_1_1MutexLock.html#3ca70fa65380fbc83451f39520d7bb0e">MutexLock</a> (<a class="el" href="classShare_1_1Mutex.html">Mutex</a> *mutex)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lock mutex. <a href="#3ca70fa65380fbc83451f39520d7bb0e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classShare_1_1MutexLock.html#be3475a813e8b5e577c2c0ce841d3d46">~MutexLock</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unlock mutex. <a href="#be3475a813e8b5e577c2c0ce841d3d46"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classShare_1_1Mutex.html" title="Platform-independent mutex representation.">Mutex</a> lock RAII object.
<p>
(Resource Acquisition Is Initialization)
<p>
<p>
Definition at line <a class="el" href="MutexLock_8h-source.html#l00100">100</a> of file <a class="el" href="MutexLock_8h-source.html">MutexLock.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="3ca70fa65380fbc83451f39520d7bb0e"></a><!-- doxytag: member="Share::MutexLock::MutexLock" ref="3ca70fa65380fbc83451f39520d7bb0e" args="(Mutex *mutex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Share::MutexLock::MutexLock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classShare_1_1Mutex.html">Mutex</a> * </td>
<td class="paramname"> <em>mutex</em> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Lock mutex.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>mutex</em> </td><td>Pointer to mutex to lock. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="MutexLock_8h-source.html#l00106">106</a> of file <a class="el" href="MutexLock_8h-source.html">MutexLock.h</a>.
</div>
</div><p>
<a class="anchor" name="be3475a813e8b5e577c2c0ce841d3d46"></a><!-- doxytag: member="Share::MutexLock::~MutexLock" ref="be3475a813e8b5e577c2c0ce841d3d46" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Share::MutexLock::~MutexLock </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Unlock mutex.
<p>
<p>
Definition at line <a class="el" href="MutexLock_8h-source.html#l00115">115</a> of file <a class="el" href="MutexLock_8h-source.html">MutexLock.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>sharelib/<a class="el" href="MutexLock_8h-source.html">MutexLock.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 26 17:43:02 2007 for ShareLibrary by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>