<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>GNU Radio 3.6.4.1 C++ API: comedi_source_s.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <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.6.4.1 C++ API </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('comedi__source__s_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"> <div class="title">comedi_source_s.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="gr__sync__block_8h_source.html">gr_sync_block.h</a>></code><br/> <code>#include <string></code><br/> <code>#include <comedilib.h></code><br/> <code>#include <stdexcept></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for comedi_source_s.h:</div> <div class="dyncontent"> <div class="center"><img src="comedi__source__s_8h__incl.png" border="0" usemap="#comedi__source__s_8h" alt=""/></div> <map name="comedi__source__s_8h" id="comedi__source__s_8h"> <area shape="rect" id="node3" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="1163,80,1279,107"/><area shape="rect" id="node5" href="gr__core__api_8h.html" title="gr_core_api.h" alt="" coords="1445,560,1544,587"/><area shape="rect" id="node9" href="gr__block_8h.html" title="gr_block.h" alt="" coords="1451,155,1532,181"/><area shape="rect" id="node7" href="attributes_8h.html" title="gruel/attributes.h" alt="" coords="1183,635,1301,661"/><area shape="rect" id="node12" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="1116,229,1236,256"/><area shape="rect" id="node99" href="gr__tags_8h.html" title="gr_tags.h" alt="" coords="1745,403,1820,429"/><area shape="rect" id="node15" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="1324,403,1457,429"/><area shape="rect" id="node31" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="1232,485,1347,512"/><area shape="rect" id="node39" href="gr__msg__accepter_8h.html" title="gr_msg_accepter.h" alt="" coords="939,312,1072,339"/><area shape="rect" id="node78" href="gr__io__signature_8h.html" title="gr_io_signature.h" alt="" coords="1351,312,1472,339"/><area shape="rect" id="node82" href="thread_8h.html" title="gruel/thread.h" alt="" coords="441,312,543,339"/><area shape="rect" id="node18" href="gr__types_8h.html" title="gr_types.h" alt="" coords="1125,485,1207,512"/><area shape="rect" id="node27" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="1226,560,1325,587"/><area shape="rect" id="node42" href="msg__accepter_8h.html" title="gruel/msg_accepter.h" alt="" coords="1052,403,1199,429"/><area shape="rect" id="node47" href="pmt_8h.html" title="gruel/pmt.h" alt="" coords="462,485,548,512"/><area shape="rect" id="node44" href="gruel_2src_2include_2gruel_2api_8h.html" title="gruel/api.h" alt="" coords="951,560,1032,587"/><area shape="rect" id="node58" href="stdint_8h.html" title="stdint.h" alt="" coords="473,560,537,587"/><area shape="rect" id="node69" href="pmt__sugar_8h.html" title="gruel/pmt_sugar.h" alt="" coords="322,560,448,587"/></map> </div> </div> <p><a href="comedi__source__s_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomedi__source__s.html">comedi_source_s</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">source using COMEDI <a href="classcomedi__source__s.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a50c1bec557b16f3cf9f5b34326d1ca5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">comedi_source_s_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="comedi__source__s_8h.html#a50c1bec557b16f3cf9f5b34326d1ca5c">comedi_make_source_s</a> (int sampling_freq, const std::string dev="/dev/comedi0")</td></tr> <tr class="memdesc:a50c1bec557b16f3cf9f5b34326d1ca5c"><td class="mdescLeft"> </td><td class="mdescRight">make a COMEDI source. <a href="#a50c1bec557b16f3cf9f5b34326d1ca5c"></a><br/></td></tr> <tr class="separator:a50c1bec557b16f3cf9f5b34326d1ca5c"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a50c1bec557b16f3cf9f5b34326d1ca5c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">comedi_source_s_sptr</a> comedi_make_source_s </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>sampling_freq</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string </td> <td class="paramname"><em>dev</em> = <code>"/dev/comedi0"</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>make a COMEDI source. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">sampling_freq</td><td>sampling rate in Hz </td></tr> <tr><td class="paramname">dev</td><td>COMEDI device name, e.g., "/dev/comedi0" </td></tr> </table> </dd> </dl> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_dd5eb6a0dfc592607dc7e05d120e00cb.html">gr-comedi</a></li><li class="navelem"><a class="el" href="dir_72de54bf6a65c764899ce5326f7deb8e.html">src</a></li><li class="navelem"><a class="el" href="comedi__source__s_8h.html">comedi_source_s.h</a></li> <li class="footer">Generated on Fri Apr 19 2013 16:20:34 for GNU Radio 3.6.4.1 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li> </ul> </div> </body> </html>