Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > ae19f57cd4e306abd5716199a310070b > files > 3077

gnuradio-doc-3.2.2-3.fc13.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: common.h File 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.2 -->
<div class="contents">
<h1>common.h File Reference</h1><code>#include &lt;<a class="el" href="pmt_8h_source.html">pmt.h</a>&gt;</code><br/>
<code>#include &lt;vector&gt;</code><br/>
<code>#include &lt;stdexcept&gt;</code><br/>
<code>#include &lt;boost/utility.hpp&gt;</code><br/>
<code>#include &lt;boost/enable_shared_from_this.hpp&gt;</code><br/>
<code>#include &lt;boost/weak_ptr.hpp&gt;</code><br/>
<div class="dynheader">
Include dependency graph for common.h:</div>
<div class="dynsection">
<div class="center"><img src="common_8h__incl.png" border="0" usemap="#common_8h_map" alt=""/></div>
<map name="common_8h_map" id="common_8h">
<area shape="rect" id="node3" href="pmt_8h.html" title="pmt.h" alt="" coords="436,83,489,112"/></map>
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<div class="center"><img src="common_8h__dep__incl.png" border="0" usemap="#common_8hdep_map" alt=""/></div>
<map name="common_8hdep_map" id="common_8hdep">
<area shape="rect" id="node3" href="class__registry_8h.html" title="class_registry.h" alt="" coords="260,83,375,112"/><area shape="rect" id="node5" href="mb__worker_8h.html" title="mb_worker.h" alt="" coords="5,160,101,189"/><area shape="rect" id="node9" href="mblock_8h.html" title="mblock.h" alt="" coords="987,160,1061,189"/><area shape="rect" id="node15" href="message_8h.html" title="message.h" alt="" coords="860,83,945,112"/><area shape="rect" id="node18" href="msg__accepter_8h.html" title="msg_accepter.h" alt="" coords="467,83,581,112"/><area shape="rect" id="node27" href="msg__queue_8h.html" title="msg_queue.h" alt="" coords="639,83,737,112"/><area shape="rect" id="node32" href="port_8h.html" title="port.h" alt="" coords="1020,83,1073,112"/><area shape="rect" id="node42" href="protocol__class_8h.html" title="protocol_class.h" alt="" coords="1097,83,1215,112"/><area shape="rect" id="node44" href="runtime_8h.html" title="runtime.h" alt="" coords="761,83,836,112"/><area shape="rect" id="node7" href="mb__runtime__thread__per__block_8h.html" title="mb_runtime_thread_per_block.h" alt="" coords="291,237,496,267"/><area shape="rect" id="node11" href="mb__mblock__impl_8h.html" title="mb_mblock_impl.h" alt="" coords="927,315,1057,344"/><area shape="rect" id="node13" href="mbi__runtime__lock_8h.html" title="mbi_runtime_lock.h" alt="" coords="824,392,957,421"/><area shape="rect" id="node20" href="mb__msg__accepter__msgq_8h.html" title="mb_msg_accepter_msgq.h" alt="" coords="472,160,651,189"/><area shape="rect" id="node22" href="mb__msg__accepter__smp_8h.html" title="mb_msg_accepter_smp.h" alt="" coords="277,160,448,189"/><area shape="rect" id="node24" href="mb__timer__queue_8h.html" title="mb_timer_queue.h" alt="" coords="125,160,253,189"/><area shape="rect" id="node35" href="mb__endpoint_8h.html" title="mb_endpoint.h" alt="" coords="1235,160,1341,189"/><area shape="rect" id="node40" href="mb__port__simple_8h.html" title="mb_port_simple.h" alt="" coords="1085,160,1211,189"/><area shape="rect" id="node37" href="mb__connection_8h.html" title="mb_connection.h" alt="" coords="1153,237,1273,267"/><area shape="rect" id="node46" href="mb__runtime__base_8h.html" title="mb_runtime_base.h" alt="" coords="827,160,963,189"/><area shape="rect" id="node49" href="mb__runtime__nop_8h.html" title="mb_runtime_nop.h" alt="" coords="827,237,955,267"/></map>
</div>

<p><a href="common_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#af46d2f000006914a26963c1af9abf44b">mb_pri_better</a> (<a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> a, <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> b)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return true iff priority a is better than priority b  <a href="#af46d2f000006914a26963c1af9abf44b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a1a85f754c06f27b350babcb41c0e96df">mb_pri_worse</a> (<a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> a, <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> b)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return true iff priority a is worse than priority b  <a href="#a1a85f754c06f27b350babcb41c0e96df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a4bf98bc0240495bf6d5720f540ab1e77">mb_pri_clamp</a> (<a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> p)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ensure that pri is valid  <a href="#a4bf98bc0240495bf6d5720f540ab1e77"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#aca022884cadbaf5f5eb2831a76399a52">MB_PRI_BEST</a> = 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a612b7e57d4c931cd3565abd0d856d7fc">MB_PRI_DEFAULT</a> = 4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#aba02449fafffecb0bc93a1680db0623b">MB_PRI_WORST</a> = 7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a6006b64fbafeef25e9c44c503b88db05">MB_NPRI</a> = <a class="el" href="common_8h.html#aba02449fafffecb0bc93a1680db0623b">MB_PRI_WORST</a> + 1</td></tr>
</table>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="aaca6107c0aa97c90bf00d7a0b20c8967"></a><!-- doxytag: member="common.h::mb_pri_t" ref="aaca6107c0aa97c90bf00d7a0b20c8967" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned int <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="af46d2f000006914a26963c1af9abf44b"></a><!-- doxytag: member="common.h::mb_pri_better" ref="af46d2f000006914a26963c1af9abf44b" args="(mb_pri_t a, mb_pri_t b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> mb_pri_better </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td>
          <td class="paramname"> <em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return true iff priority a is better than priority b </p>

</div>
</div>
<a class="anchor" id="a4bf98bc0240495bf6d5720f540ab1e77"></a><!-- doxytag: member="common.h::mb_pri_clamp" ref="a4bf98bc0240495bf6d5720f540ab1e77" args="(mb_pri_t p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> mb_pri_clamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ensure that pri is valid </p>

<p>References <a class="el" href="common_8h_source.html#l00038">MB_NPRI</a>.</p>

</div>
</div>
<a class="anchor" id="a1a85f754c06f27b350babcb41c0e96df"></a><!-- doxytag: member="common.h::mb_pri_worse" ref="a1a85f754c06f27b350babcb41c0e96df" args="(mb_pri_t a, mb_pri_t b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> mb_pri_worse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td>
          <td class="paramname"> <em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a>&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return true iff priority a is worse than priority b </p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a6006b64fbafeef25e9c44c503b88db05"></a><!-- doxytag: member="common.h::MB_NPRI" ref="a6006b64fbafeef25e9c44c503b88db05" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> <a class="el" href="common_8h.html#a6006b64fbafeef25e9c44c503b88db05">MB_NPRI</a> = <a class="el" href="common_8h.html#aba02449fafffecb0bc93a1680db0623b">MB_PRI_WORST</a> + 1<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="common_8h_source.html#l00062">mb_pri_clamp()</a>.</p>

</div>
</div>
<a class="anchor" id="aca022884cadbaf5f5eb2831a76399a52"></a><!-- doxytag: member="common.h::MB_PRI_BEST" ref="aca022884cadbaf5f5eb2831a76399a52" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> <a class="el" href="common_8h.html#aca022884cadbaf5f5eb2831a76399a52">MB_PRI_BEST</a> = 0<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a612b7e57d4c931cd3565abd0d856d7fc"></a><!-- doxytag: member="common.h::MB_PRI_DEFAULT" ref="a612b7e57d4c931cd3565abd0d856d7fc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> <a class="el" href="common_8h.html#a612b7e57d4c931cd3565abd0d856d7fc">MB_PRI_DEFAULT</a> = 4<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aba02449fafffecb0bc93a1680db0623b"></a><!-- doxytag: member="common.h::MB_PRI_WORST" ref="aba02449fafffecb0bc93a1680db0623b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> <a class="el" href="common_8h.html#aba02449fafffecb0bc93a1680db0623b">MB_PRI_WORST</a> = 7<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>