<!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: mb_port_simple 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('classmb__port__simple.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-static-methods">Static Protected Member Functions</a> </div> <div class="headertitle"> <h1>mb_port_simple Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="mb_port_simple" --><!-- doxytag: inherits="mb_port" --> <p>Concrete port realization. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="mb__port__simple_8h_source.html">mb_port_simple.h</a>></code></p> <div class="dynheader"> Inheritance diagram for mb_port_simple:</div> <div class="dyncontent"> <div class="center"><img src="classmb__port__simple__inherit__graph.png" border="0" usemap="#mb__port__simple_inherit__map" alt="Inheritance graph"/></div> <map name="mb__port__simple_inherit__map" id="mb__port__simple_inherit__map"> <area shape="rect" id="node2" href="classmb__port.html" title="Abstract port characteristics." alt="" coords="28,5,97,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classmb__port__simple-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#a922197bf8e5bb45c2276ca0174cb934f">mb_port_simple</a> (<a class="el" href="classmb__mblock.html">mb_mblock</a> *mblock, const std::string &port_name, const std::string &protocol_class_name, <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> conjugated, <a class="el" href="classmb__port.html#ab7f3f63c496d0de66461f09320bbaaa7">mb_port::port_type_t</a> port_type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#a4aa009a42f4331a193a6b1f2ab0e67a9">~mb_port_simple</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#afab277f3a993813838b72c5774b2c2f6">send</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> signal, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> data=<a class="el" href="pmt_8h.html#aba0945ac11683535c229c6047c21c523">PMT_NIL</a>, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> metadata=<a class="el" href="pmt_8h.html#aba0945ac11683535c229c6047c21c523">PMT_NIL</a>, <a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> priority=<a class="el" href="common_8h.html#a612b7e57d4c931cd3565abd0d856d7fc">MB_PRI_DEFAULT</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">send a message <a href="#afab277f3a993813838b72c5774b2c2f6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#a0eacb5feaf406c95b88ef40bdd655e66">invalidate_cache</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#a2ba50e8ac01bd9444e8960059121d81a">make_accepter</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-static-methods"></a> Static Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__port__simple.html#aba6717033ac41dae0ce5bf47c13ef6b6">find_accepter</a> (<a class="el" href="classmb__port__simple.html">mb_port_simple</a> *start)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Concrete port realization. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a922197bf8e5bb45c2276ca0174cb934f"></a><!-- doxytag: member="mb_port_simple::mb_port_simple" ref="a922197bf8e5bb45c2276ca0174cb934f" args="(mb_mblock *mblock, const std::string &port_name, const std::string &protocol_class_name, bool conjugated, mb_port::port_type_t port_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mb_port_simple::mb_port_simple </td> <td>(</td> <td class="paramtype"><a class="el" href="classmb__mblock.html">mb_mblock</a> * </td> <td class="paramname"><em>mblock</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>port_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>protocol_class_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td> <td class="paramname"><em>conjugated</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classmb__port.html#ab7f3f63c496d0de66461f09320bbaaa7">mb_port::port_type_t</a> </td> <td class="paramname"><em>port_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4aa009a42f4331a193a6b1f2ab0e67a9"></a><!-- doxytag: member="mb_port_simple::~mb_port_simple" ref="a4aa009a42f4331a193a6b1f2ab0e67a9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mb_port_simple::~mb_port_simple </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aba6717033ac41dae0ce5bf47c13ef6b6"></a><!-- doxytag: member="mb_port_simple::find_accepter" ref="aba6717033ac41dae0ce5bf47c13ef6b6" args="(mb_port_simple *start)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> mb_port_simple::find_accepter </td> <td>(</td> <td class="paramtype"><a class="el" href="classmb__port__simple.html">mb_port_simple</a> * </td> <td class="paramname"><em>start</em></td><td>)</td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a0eacb5feaf406c95b88ef40bdd655e66"></a><!-- doxytag: member="mb_port_simple::invalidate_cache" ref="a0eacb5feaf406c95b88ef40bdd655e66" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_port_simple::invalidate_cache </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classmb__port.html#aea29fb7a1ec65c2e924a21fd3736fdfa">mb_port</a>.</p> </div> </div> <a class="anchor" id="a2ba50e8ac01bd9444e8960059121d81a"></a><!-- doxytag: member="mb_port_simple::make_accepter" ref="a2ba50e8ac01bd9444e8960059121d81a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> mb_port_simple::make_accepter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="afab277f3a993813838b72c5774b2c2f6"></a><!-- doxytag: member="mb_port_simple::send" ref="afab277f3a993813838b72c5774b2c2f6" args="(pmt_t signal, pmt_t data=PMT_NIL, pmt_t metadata=PMT_NIL, mb_pri_t priority=MB_PRI_DEFAULT)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_port_simple::send </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>signal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>data</em> = <code><a class="el" href="pmt_8h.html#aba0945ac11683535c229c6047c21c523">PMT_NIL</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>metadata</em> = <code><a class="el" href="pmt_8h.html#aba0945ac11683535c229c6047c21c523">PMT_NIL</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="common_8h.html#aaca6107c0aa97c90bf00d7a0b20c8967">mb_pri_t</a> </td> <td class="paramname"><em>priority</em> = <code><a class="el" href="common_8h.html#a612b7e57d4c931cd3565abd0d856d7fc">MB_PRI_DEFAULT</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>send a message </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">signal</td><td>the event name </td></tr> <tr><td class="paramname">data</td><td>optional data </td></tr> <tr><td class="paramname">metadata</td><td>optional metadata </td></tr> <tr><td class="paramname">priority</td><td>the urgency at which the message is sent </td></tr> </table> </dd> </dl> <p>Implements <a class="el" href="classmb__port.html#ad8b9db98bc7588b3f7ba87dcb56fa29d">mb_port</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="mb__port__simple_8h_source.html">mb_port_simple.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classmb__port__simple.html">mb_port_simple</a> </li> <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by  <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>