Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 6e7a2755bd78c9deedab199b86e675f3 > files > 2517

gnuradio-doc-3.2.2-9.fc14.x86_64.rpm

<!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>GNU Radio 3.2.2 C++ API: mbi_runtime_lock 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">GNU Radio 3.2.2 C++ API</div>
  </td>
 </tr>
 </tbody>
</table>
</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('classmbi__runtime__lock.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>mbi_runtime_lock Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mbi_runtime_lock" -->
<p>acquire and release big runtime lock  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mbi__runtime__lock_8h_source.html">mbi_runtime_lock.h</a>&gt;</code></p>

<p><a href="classmbi__runtime__lock-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmbi__runtime__lock.html#a91868971e4953dc526ddf86b477edbd3">mbi_runtime_lock</a> (<a class="el" href="classmb__runtime__base.html">mb_runtime_base</a> *rt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmbi__runtime__lock.html#a7db7ee73b22300cfbe77728ce50e26ff">mbi_runtime_lock</a> (<a class="el" href="classmb__mblock__impl.html">mb_mblock_impl</a> *mi)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmbi__runtime__lock.html#a22937b7728566aee4a8e1ecab1d120e4">mbi_runtime_lock</a> (<a class="el" href="classmb__mblock.html">mb_mblock</a> *mb)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmbi__runtime__lock.html#ab1d3643d42a9040b71a0d4b1c5fec255">~mbi_runtime_lock</a> (void)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>acquire and release big runtime lock </p>
<p>As an alternative to: { rt-&gt;lock(); ..... rt-&gt;unlock(); }</p>
<p>you can use a single instance of the <a class="el" href="classmbi__runtime__lock.html" title="acquire and release big runtime lock">mbi_runtime_lock</a> class:</p>
<p>{ <a class="el" href="classmbi__runtime__lock.html" title="acquire and release big runtime lock">mbi_runtime_lock</a> l(rt); .... }</p>
<p>This has the advantage that rt-&gt;unlock() will be called automatically when an exception is thrown. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a91868971e4953dc526ddf86b477edbd3"></a><!-- doxytag: member="mbi_runtime_lock::mbi_runtime_lock" ref="a91868971e4953dc526ddf86b477edbd3" args="(mb_runtime_base *rt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mbi_runtime_lock::mbi_runtime_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmb__runtime__base.html">mb_runtime_base</a> *&#160;</td>
          <td class="paramname"><em>rt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classmb__runtime__base.html#ac9944a6774ab7ba81eca59d1ea0e673f">mb_runtime_base::lock()</a>.</p>

</div>
</div>
<a class="anchor" id="a7db7ee73b22300cfbe77728ce50e26ff"></a><!-- doxytag: member="mbi_runtime_lock::mbi_runtime_lock" ref="a7db7ee73b22300cfbe77728ce50e26ff" args="(mb_mblock_impl *mi)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mbi_runtime_lock::mbi_runtime_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmb__mblock__impl.html">mb_mblock_impl</a> *&#160;</td>
          <td class="paramname"><em>mi</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classmb__runtime__base.html#ac9944a6774ab7ba81eca59d1ea0e673f">mb_runtime_base::lock()</a>.</p>

</div>
</div>
<a class="anchor" id="a22937b7728566aee4a8e1ecab1d120e4"></a><!-- doxytag: member="mbi_runtime_lock::mbi_runtime_lock" ref="a22937b7728566aee4a8e1ecab1d120e4" args="(mb_mblock *mb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mbi_runtime_lock::mbi_runtime_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmb__mblock.html">mb_mblock</a> *&#160;</td>
          <td class="paramname"><em>mb</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classmb__runtime__base.html#ac9944a6774ab7ba81eca59d1ea0e673f">mb_runtime_base::lock()</a>.</p>

</div>
</div>
<a class="anchor" id="ab1d3643d42a9040b71a0d4b1c5fec255"></a><!-- doxytag: member="mbi_runtime_lock::~mbi_runtime_lock" ref="ab1d3643d42a9040b71a0d4b1c5fec255" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mbi_runtime_lock::~mbi_runtime_lock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classmb__runtime__base.html#abb6d8310dfeec507938fef91425a963a">mb_runtime_base::unlock()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mbi__runtime__lock_8h_source.html">mbi_runtime_lock.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classmbi__runtime__lock.html">mbi_runtime_lock</a>      </li>
      <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by&#160;
<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>