<!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: protocol_class.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('protocol__class_8h.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>protocol_class.h File Reference</h1> </div> </div> <div class="contents"> <div class="textblock"><code>#include <mblock/common.h></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for protocol_class.h:</div> <div class="dyncontent"> <div class="center"><img src="protocol__class_8h__incl.png" border="0" usemap="#protocol__class_8h" alt=""/></div> <map name="protocol__class_8h" id="protocol__class_8h"> </map> </div> </div> <p><a href="protocol__class_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__protocol__class__init.html">mb_protocol_class_init</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize one or more protocol class from a serialized description. Used by machine generated code. <a href="classmb__protocol__class__init.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="protocol__class_8h.html#aedac34f70db7634b23a8ee57cbc1d0f6">mb_make_protocol_class</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> name, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> incoming, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> outgoing)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">construct a protocol_class <a href="#aedac34f70db7634b23a8ee57cbc1d0f6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="protocol__class_8h.html#a85cf6fbfb61e8c24a09160d5232a7d90">mb_protocol_class_name</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> pc)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="protocol__class_8h.html#afb05183c42a9c842e7a32e3efcc240d2">mb_protocol_class_incoming</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> pc)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="protocol__class_8h.html#a68c676a3be7e0b3a3f05ff595598b908">mb_protocol_class_outgoing</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> pc)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="protocol__class_8h.html#a61cfcac113ab53636244254cfd5cc9b6">mb_protocol_class_lookup</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> name)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="aedac34f70db7634b23a8ee57cbc1d0f6"></a><!-- doxytag: member="protocol_class.h::mb_make_protocol_class" ref="aedac34f70db7634b23a8ee57cbc1d0f6" args="(pmt_t name, pmt_t incoming, pmt_t outgoing)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_make_protocol_class </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>name</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>incoming</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>outgoing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>construct a protocol_class </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>the name of the class (symbol) </td></tr> <tr><td class="paramname">incoming</td><td>incoming message set (list of symbols) </td></tr> <tr><td class="paramname">outgoing</td><td>outgoing message set (list of symbols) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="afb05183c42a9c842e7a32e3efcc240d2"></a><!-- doxytag: member="protocol_class.h::mb_protocol_class_incoming" ref="afb05183c42a9c842e7a32e3efcc240d2" args="(pmt_t pc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_protocol_class_incoming </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>pc</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a61cfcac113ab53636244254cfd5cc9b6"></a><!-- doxytag: member="protocol_class.h::mb_protocol_class_lookup" ref="a61cfcac113ab53636244254cfd5cc9b6" args="(pmt_t name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_protocol_class_lookup </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a85cf6fbfb61e8c24a09160d5232a7d90"></a><!-- doxytag: member="protocol_class.h::mb_protocol_class_name" ref="a85cf6fbfb61e8c24a09160d5232a7d90" args="(pmt_t pc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_protocol_class_name </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>pc</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a68c676a3be7e0b3a3f05ff595598b908"></a><!-- doxytag: member="protocol_class.h::mb_protocol_class_outgoing" ref="a68c676a3be7e0b3a3f05ff595598b908" args="(pmt_t pc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_protocol_class_outgoing </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"><em>pc</em></td><td>)</td> <td></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="protocol__class_8h.html">protocol_class.h</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>