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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MySQL++ Reference Manual</title>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.8.5 -->
<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>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>mysqlpp</b></li><li class="navelem"><a class="el" href="classmysqlpp_1_1ScopedLock.html">ScopedLock</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classmysqlpp_1_1ScopedLock-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mysqlpp::ScopedLock Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Wrapper around <a class="el" href="classmysqlpp_1_1BeecryptMutex.html" title="Wrapper around platform-specific mutexes. ">BeecryptMutex</a> to add scope-bound locking and unlocking.
<a href="classmysqlpp_1_1ScopedLock.html#details">More...</a></p>
<p><code>#include <<a class="el" href="beemutex_8h_source.html">beemutex.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0684decf81a6915e06297ff0fec218e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0684decf81a6915e06297ff0fec218e9"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ScopedLock.html#a0684decf81a6915e06297ff0fec218e9">ScopedLock</a> (<a class="el" href="classmysqlpp_1_1BeecryptMutex.html">BeecryptMutex</a> &mutex)</td></tr>
<tr class="memdesc:a0684decf81a6915e06297ff0fec218e9"><td class="mdescLeft"> </td><td class="mdescRight">Lock the mutex. <br/></td></tr>
<tr class="separator:a0684decf81a6915e06297ff0fec218e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f03bd9ff85a61bef0255c6f313f3099"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f03bd9ff85a61bef0255c6f313f3099"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ScopedLock.html#a1f03bd9ff85a61bef0255c6f313f3099">~ScopedLock</a> ()</td></tr>
<tr class="memdesc:a1f03bd9ff85a61bef0255c6f313f3099"><td class="mdescLeft"> </td><td class="mdescRight">Unlock the mutex. <br/></td></tr>
<tr class="separator:a1f03bd9ff85a61bef0255c6f313f3099"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper around <a class="el" href="classmysqlpp_1_1BeecryptMutex.html" title="Wrapper around platform-specific mutexes. ">BeecryptMutex</a> to add scope-bound locking and unlocking. </p>
<p>This allows code to lock a mutex and ensure it will unlock on exit from the enclosing scope even in the face of exceptions. This is separate from <a class="el" href="classmysqlpp_1_1BeecryptMutex.html" title="Wrapper around platform-specific mutexes. ">BeecryptMutex</a> because we don't want to make this behavior mandatory. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="beemutex_8h_source.html">beemutex.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 18 2015 18:55:03 for MySQL++ by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
|