<!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_conn_table 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__conn__table.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>mb_conn_table Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="mb_conn_table" --> <p>data structure that keeps track of connections <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="mb__connection_8h_source.html">mb_connection.h</a>></code></p> <p><a href="classmb__conn__table-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"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#a073a304d50e529ec457dc22f1fac1185">lookup_conn_by_name</a> (const std::string &component_name, const std::string &port_name, <a class="el" href="mb__connection_8h.html#a40f8c3e52417e696245686fc938b0fbb">mb_conn_iter</a> *it, int *which_ep)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#a2b38e601434dfed3303c6f292d0d2672">lookup_conn_by_port</a> (const <a class="el" href="classmb__port.html">mb_port</a> *port, <a class="el" href="mb__connection_8h.html#a40f8c3e52417e696245686fc938b0fbb">mb_conn_iter</a> *it, int *which_ep)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#ac91295ed8f734e52806774be28e72b9b">create_conn</a> (const <a class="el" href="classmb__endpoint.html">mb_endpoint</a> &ep0, const <a class="el" href="classmb__endpoint.html">mb_endpoint</a> &ep1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#a4b1dc78e9c19287f0de7124a1c8064af">disconnect</a> (const std::string &comp_name1, const std::string &port_name1, const std::string &comp_name2, const std::string &port_name2)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#ae7aa820153ad6a17a1629b68c0a95b37">disconnect_component</a> (const std::string component_name)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#a407820f99fb3313b547b13a1c6f23bde">disconnect_all</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__conn__table.html#aca1446122324782a820e12a301437045">nconnections</a> () const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>data structure that keeps track of connections </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac91295ed8f734e52806774be28e72b9b"></a><!-- doxytag: member="mb_conn_table::create_conn" ref="ac91295ed8f734e52806774be28e72b9b" args="(const mb_endpoint &ep0, const mb_endpoint &ep1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_conn_table::create_conn </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmb__endpoint.html">mb_endpoint</a> & </td> <td class="paramname"><em>ep0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classmb__endpoint.html">mb_endpoint</a> & </td> <td class="paramname"><em>ep1</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4b1dc78e9c19287f0de7124a1c8064af"></a><!-- doxytag: member="mb_conn_table::disconnect" ref="a4b1dc78e9c19287f0de7124a1c8064af" args="(const std::string &comp_name1, const std::string &port_name1, const std::string &comp_name2, const std::string &port_name2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_conn_table::disconnect </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>comp_name1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>port_name1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>comp_name2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>port_name2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a407820f99fb3313b547b13a1c6f23bde"></a><!-- doxytag: member="mb_conn_table::disconnect_all" ref="a407820f99fb3313b547b13a1c6f23bde" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_conn_table::disconnect_all </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae7aa820153ad6a17a1629b68c0a95b37"></a><!-- doxytag: member="mb_conn_table::disconnect_component" ref="ae7aa820153ad6a17a1629b68c0a95b37" args="(const std::string component_name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_conn_table::disconnect_component </td> <td>(</td> <td class="paramtype">const std::string </td> <td class="paramname"><em>component_name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a073a304d50e529ec457dc22f1fac1185"></a><!-- doxytag: member="mb_conn_table::lookup_conn_by_name" ref="a073a304d50e529ec457dc22f1fac1185" args="(const std::string &component_name, const std::string &port_name, mb_conn_iter *it, int *which_ep)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> mb_conn_table::lookup_conn_by_name </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>component_name</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"><a class="el" href="mb__connection_8h.html#a40f8c3e52417e696245686fc938b0fbb">mb_conn_iter</a> * </td> <td class="paramname"><em>it</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>which_ep</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2b38e601434dfed3303c6f292d0d2672"></a><!-- doxytag: member="mb_conn_table::lookup_conn_by_port" ref="a2b38e601434dfed3303c6f292d0d2672" args="(const mb_port *port, mb_conn_iter *it, int *which_ep)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> mb_conn_table::lookup_conn_by_port </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmb__port.html">mb_port</a> * </td> <td class="paramname"><em>port</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="mb__connection_8h.html#a40f8c3e52417e696245686fc938b0fbb">mb_conn_iter</a> * </td> <td class="paramname"><em>it</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>which_ep</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aca1446122324782a820e12a301437045"></a><!-- doxytag: member="mb_conn_table::nconnections" ref="aca1446122324782a820e12a301437045" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mb_conn_table::nconnections </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="mb__connection_8h_source.html">mb_connection.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classmb__conn__table.html">mb_conn_table</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>