<!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: usrp_source_c.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>usrp_source_c.h File Reference</h1><code>#include <<a class="el" href="usrp__source__base_8h_source.html">usrp_source_base.h</a>></code><br/> <code>#include <stdexcept></code><br/> <div class="dynheader"> Include dependency graph for usrp_source_c.h:</div> <div class="dynsection"> <div class="center"><img src="usrp__source__c_8h__incl.png" border="0" usemap="#usrp__source__c_8h_map" alt=""/></div> <map name="usrp__source__c_8h_map" id="usrp__source__c_8h"> <area shape="rect" id="node3" href="usrp__source__base_8h.html" title="usrp_source_base.h" alt="" coords="380,83,519,112"/><area shape="rect" id="node5" href="usrp__base_8h.html" title="usrp_base.h" alt="" coords="649,160,743,189"/><area shape="rect" id="node50" href="usrp__tune__result_8h.html" title="usrp_tune_result.h" alt="" coords="385,160,513,189"/><area shape="rect" id="node52" href="usrp__dbid_8h.html" title="usrp_dbid.h" alt="" coords="537,160,625,189"/><area shape="rect" id="node7" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="432,237,549,267"/><area shape="rect" id="node39" href="db__base_8h.html" title="db_base.h" alt="" coords="579,392,661,421"/><area shape="rect" id="node47" href="usrp__subdev__spec_8h.html" title="usrp_subdev_spec.h" alt="" coords="657,237,799,267"/><area shape="rect" id="node9" href="gr__block_8h.html" title="gr_block.h" alt="" coords="407,315,489,344"/><area shape="rect" id="node11" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="367,392,487,421"/><area shape="rect" id="node13" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="5,469,139,499"/><area shape="rect" id="node29" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="500,547,615,576"/><area shape="rect" id="node15" href="gr__types_8h.html" title="gr_types.h" alt="" coords="284,547,367,576"/><area shape="rect" id="node23" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="331,624,429,653"/></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="usrp__source__c_8h__dep__incl.png" border="0" usemap="#usrp__source__c_8hdep_map" alt=""/></div> <map name="usrp__source__c_8hdep_map" id="usrp__source__c_8hdep"> <area shape="rect" id="node3" href="usrp__rx__cfile_8h.html" title="usrp_rx_cfile.h" alt="" coords="11,83,117,112"/></map> </div> <p><a href="usrp__source__c_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>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__source__c.html">usrp_source_c</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Interface to Universal Software Radio Peripheral Rx pathoutput: 1 stream of complex<float>. <a href="classusrp__source__c.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">usrp_source_c_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__source__c_8h.html#af69af9a887d16c74018cdf8eabd9679f">usrp_make_source_c</a> (int which_board=0, unsigned int decim_rate=16, int nchan=1, int mux=-1, int mode=0, int fusb_block_size=0, int fusb_nblocks=0, const std::string fpga_filename="", const std::string firmware_filename="") throw (std::runtime_error)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="af69af9a887d16c74018cdf8eabd9679f"></a><!-- doxytag: member="usrp_source_c.h::usrp_make_source_c" ref="af69af9a887d16c74018cdf8eabd9679f" args="(int which_board=0, unsigned int decim_rate=16, int nchan=1, int mux=-1, int mode=0, int fusb_block_size=0, int fusb_nblocks=0, const std::string fpga_filename="", const std::string firmware_filename="")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">usrp_source_c_sptr</a> usrp_make_source_c </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>which_board</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>decim_rate</em> = <code>16</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>nchan</em> = <code>1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>mux</em> = <code>-1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>mode</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>fusb_block_size</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>fusb_nblocks</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string </td> <td class="paramname"> <em>fpga_filename</em> = <code>""</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string </td> <td class="paramname"> <em>firmware_filename</em> = <code>""</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> throw (std::runtime_error)</td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>