Sophie

Sophie

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

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: common.h File 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('common_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<h1>common.h File Reference</h1>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;pmt.h&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><div class="textblock"><div class="dynheader">
Include dependency graph for common.h:</div>
<div class="dyncontent">
<div class="center"><img src="common_8h__incl.png" border="0" usemap="#common_8h" alt=""/></div>
<map name="common_8h" id="common_8h">
</map>
</div>
</div>
<p><a href="common_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</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><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&#160;</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">&#160;</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>&#160;</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">&#160;</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>&#160;</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">&#160;</td><td class="mdescRight">ensure that pri is valid  <a href="#a4bf98bc0240495bf6d5720f540ab1e77"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
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>&#160;</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>&#160;</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>&#160;</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>&#160;</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>&#160;</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>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <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>&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</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.html#a6006b64fbafeef25e9c44c503b88db05">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>&#160;</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>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <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.html#a4bf98bc0240495bf6d5720f540ab1e77">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>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="common_8h.html">common.h</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>