<!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>Universal Software Radio Peripheral: fusb_ephandle_darwin Class 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.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">Universal Software Radio Peripheral</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <h1>fusb_ephandle_darwin Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="fusb_ephandle_darwin" --><!-- doxytag: inherits="fusb_ephandle" --> <p>darwin implementation of <a class="el" href="classfusb__ephandle.html" title="abstract usb end point handle">fusb_ephandle</a> <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="fusb__darwin_8h_source.html">fusb_darwin.h</a>></code></p> <div class="dynheader"> Inheritance diagram for fusb_ephandle_darwin:</div> <div class="dyncontent"> <div class="center"><img src="classfusb__ephandle__darwin__inherit__graph.png" border="0" usemap="#fusb__ephandle__darwin_inherit__map" alt="Inheritance graph"/></div> <map name="fusb__ephandle__darwin_inherit__map" id="fusb__ephandle__darwin_inherit__map"> <area shape="rect" id="node2" href="classfusb__ephandle.html" title="abstract usb end point handle" alt="" coords="27,5,133,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for fusb_ephandle_darwin:</div> <div class="dyncontent"> <div class="center"><img src="classfusb__ephandle__darwin__coll__graph.png" border="0" usemap="#fusb__ephandle__darwin_coll__map" alt="Collaboration graph"/></div> <map name="fusb__ephandle__darwin_coll__map" id="fusb__ephandle__darwin_coll__map"> <area shape="rect" id="node2" href="classfusb__ephandle.html" title="abstract usb end point handle" alt="" coords="608,5,715,35"/><area shape="rect" id="node4" href="classcircular__buffer.html" title="circular_buffer\< char \>" alt="" coords="585,132,737,161"/><area shape="rect" id="node6" href="classmld__condition__t.html" title="mld_condition_t" alt="" coords="244,195,356,224"/><area shape="rect" id="node21" href="classcircular__linked__list.html" title="circular_linked_list\< s_buffer_ptr \>" alt="" coords="551,277,772,307"/><area shape="rect" id="node8" href="classmld__mutex__t.html" title="mld_mutex_t" alt="" coords="16,129,112,159"/><area shape="rect" id="node11" href="classmld__thread__t.html" title="mld_thread_t" alt="" coords="613,469,709,499"/><area shape="rect" id="node15" href="classfusb__devhandle__darwin.html" title="darwin implementation of fusb_devhandle" alt="" coords="583,523,740,552"/><area shape="rect" id="node17" href="classfusb__devhandle.html" title="abstract usb device handle" alt="" coords="244,523,356,552"/><area shape="rect" id="node19" href="structusb__dev__handle.html" title="usb_dev_handle" alt="" coords="7,523,121,552"/><area shape="rect" id="node25" href="classs__node.html" title="s_node\< s_buffer_ptr \>" alt="" coords="221,424,379,453"/><area shape="rect" id="node29" href="classs__both.html" title="s_both\< s_buffer_ptr \>" alt="" coords="584,416,739,445"/><area shape="rect" id="node27" href="classs__buffer.html" title="s_buffer" alt="" coords="29,424,99,453"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classfusb__ephandle__darwin-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="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin</a> (<a class="el" href="classfusb__devhandle__darwin.html">fusb_devhandle_darwin</a> *dh, int endpoint, bool input_p, int block_size=0, int nblocks=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">begin streaming i/o <a href="#aca1441ae1cd0cff2008c23db7cff9482"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#af1424a7d28d0fc927ecdd6a5c3c26ef0">stop</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">stop streaming i/o <a href="#af1424a7d28d0fc927ecdd6a5c3c26ef0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write</a> (const void *buffer, int nbytes)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a9f45fa5d5fd0c1dda8244da08f707862">read</a> (void *buffer, int nbytes)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#aa5067d1f65048940bffdfdb7996ea8d3">abort</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a456d75e85abf8c2d3e76c7bed03e9993">wait_for_completion</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">UInt8 </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a0fe61b67ad1e4cf8e1f867b5d7428a90">d_pipeRef</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">UInt8 </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a6335642bc300216ff8e43a28453c9b6d">d_transferType</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">usb_interface_t ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a833a58e14de40f53f45df6ba213d2058">d_interfaceRef</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">usb_interface_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a4c946cfbb61ca98f1c3afc5f14e693ec">d_interface</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcircular__linked__list.html">s_queue_ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcircular__buffer.html">circular_buffer</a>< char > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">UInt32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a49dd78e1e25808c08e9e47dbca1be46e">d_bufLenBytes</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmld__mutex__t.html">mld_mutex_ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a0664ab88582650417b2cba3056a86cf0">d_readRunning</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmld__condition__t.html">mld_condition_ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a6ccb2292bc75e3126891eb3dd2655af8">d_runBlock</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmld__condition__t.html">mld_condition_ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfusb__ephandle__darwin.html#a0d8fda21374b8e9a8f4db0f62b6b5859">d_readBlock</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>darwin implementation of <a class="el" href="classfusb__ephandle.html" title="abstract usb end point handle">fusb_ephandle</a> </p> <p>This is currently identical to the generic implementation and is intended as a starting point for whatever magic is required to make usb fly. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a75115bc11f04aa7b71f5c834817dc667"></a><!-- doxytag: member="fusb_ephandle_darwin::fusb_ephandle_darwin" ref="a75115bc11f04aa7b71f5c834817dc667" args="(fusb_devhandle_darwin *dh, int endpoint, bool input_p, int block_size=0, int nblocks=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">fusb_ephandle_darwin::fusb_ephandle_darwin </td> <td>(</td> <td class="paramtype"><a class="el" href="classfusb__devhandle__darwin.html">fusb_devhandle_darwin</a> * </td> <td class="paramname"><em>dh</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>endpoint</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>input_p</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>block_size</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nblocks</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="classs__node.html#ac3b0c2f62a6d14dcf295ae0238a6b5be">s_node< T >::both()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a>, <a class="el" href="classfusb__ephandle__darwin.html#a49dd78e1e25808c08e9e47dbca1be46e">d_bufLenBytes</a>, <a class="el" href="classfusb__ephandle.html#a123fcada49a57077500fab084e537643">fusb_ephandle::d_input_p</a>, <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0d8fda21374b8e9a8f4db0f62b6b5859">d_readBlock</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0664ab88582650417b2cba3056a86cf0">d_readRunning</a>, <a class="el" href="classfusb__ephandle__darwin.html#a6ccb2292bc75e3126891eb3dd2655af8">d_runBlock</a>, <a class="el" href="classfusb__sysconfig.html#a984f66e5b11b677d810c0a11f33f4ef6">fusb_sysconfig::max_block_size()</a>, and <a class="el" href="classs__node.html#a8051b14d5a222a3f9c60836f38216755">s_node< T >::object()</a>.</p> </div> </div> <a class="anchor" id="a7487f22bb9d633e00ed69fed86ce697b"></a><!-- doxytag: member="fusb_ephandle_darwin::~fusb_ephandle_darwin" ref="a7487f22bb9d633e00ed69fed86ce697b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">fusb_ephandle_darwin::~fusb_ephandle_darwin </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="classs__node.html#ac3b0c2f62a6d14dcf295ae0238a6b5be">s_node< T >::both()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a>, <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0d8fda21374b8e9a8f4db0f62b6b5859">d_readBlock</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0664ab88582650417b2cba3056a86cf0">d_readRunning</a>, <a class="el" href="classfusb__ephandle__darwin.html#a6ccb2292bc75e3126891eb3dd2655af8">d_runBlock</a>, <a class="el" href="classcircular__linked__list.html#a873b3b21f61ac088ec8e69a413289d8c">circular_linked_list< T >::iterate_next()</a>, <a class="el" href="classcircular__linked__list.html#aace2f5222a9d5b500b94001e81ec0159">circular_linked_list< T >::iterate_start()</a>, <a class="el" href="classs__node.html#a8051b14d5a222a3f9c60836f38216755">s_node< T >::object()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#af1424a7d28d0fc927ecdd6a5c3c26ef0">stop()</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa5067d1f65048940bffdfdb7996ea8d3"></a><!-- doxytag: member="fusb_ephandle_darwin::abort" ref="aa5067d1f65048940bffdfdb7996ea8d3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void fusb_ephandle_darwin::abort </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="classfusb__ephandle__darwin.html#a4c946cfbb61ca98f1c3afc5f14e693ec">d_interface</a>, <a class="el" href="classfusb__ephandle__darwin.html#a833a58e14de40f53f45df6ba213d2058">d_interfaceRef</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0fe61b67ad1e4cf8e1f867b5d7428a90">d_pipeRef</a>, <a class="el" href="fusb__darwin_8h.html#ae3f6d70c719c77e228ccc905331d7784">usb_debug</a>, and <a class="el" href="darwin__libusb_8h.html#a6c7a312a78f69953e39305ab222522ca">USB_ERROR_STR_NO_RET</a>.</p> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#af1424a7d28d0fc927ecdd6a5c3c26ef0">stop()</a>.</p> </div> </div> <a class="anchor" id="a9f45fa5d5fd0c1dda8244da08f707862"></a><!-- doxytag: member="fusb_ephandle_darwin::read" ref="a9f45fa5d5fd0c1dda8244da08f707862" args="(void *buffer, int nbytes)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int fusb_ephandle_darwin::read </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nbytes</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes read or -1 if error. number of bytes read will be <= nbytes. Will block if no input available. </dd></dl> <p>Implements <a class="el" href="classfusb__ephandle.html#a835533e974fb159174c44f2ec0d5668d">fusb_ephandle</a>.</p> <p>References <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a>, <a class="el" href="classcircular__buffer.html#a4411197cc0fbf929538ba2ec2aeb3bab">circular_buffer< T >::dequeue()</a>, and <a class="el" href="fusb__darwin_8h.html#ae3f6d70c719c77e228ccc905331d7784">usb_debug</a>.</p> </div> </div> <a class="anchor" id="aca1441ae1cd0cff2008c23db7cff9482"></a><!-- doxytag: member="fusb_ephandle_darwin::start" ref="aca1441ae1cd0cff2008c23db7cff9482" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool fusb_ephandle_darwin::start </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>begin streaming i/o </p> <p>Implements <a class="el" href="classfusb__ephandle.html#aac0498804e009ab78c47f2265f34a054">fusb_ephandle</a>.</p> <p>References <a class="el" href="classs__node.html#ac3b0c2f62a6d14dcf295ae0238a6b5be">s_node< T >::both()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a>, <a class="el" href="classfusb__ephandle.html#a136e1ab7ba9e180a78ea5085739dd018">fusb_ephandle::d_endpoint</a>, <a class="el" href="classfusb__ephandle.html#a123fcada49a57077500fab084e537643">fusb_ephandle::d_input_p</a>, <a class="el" href="classfusb__ephandle__darwin.html#a4c946cfbb61ca98f1c3afc5f14e693ec">d_interface</a>, <a class="el" href="classfusb__ephandle__darwin.html#a833a58e14de40f53f45df6ba213d2058">d_interfaceRef</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0fe61b67ad1e4cf8e1f867b5d7428a90">d_pipeRef</a>, <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a>, <a class="el" href="classfusb__ephandle__darwin.html#a6ccb2292bc75e3126891eb3dd2655af8">d_runBlock</a>, <a class="el" href="classfusb__ephandle.html#ad6506c0efdf8eea1dcd8df8d65ecc609">fusb_ephandle::d_started</a>, <a class="el" href="classfusb__ephandle__darwin.html#a6335642bc300216ff8e43a28453c9b6d">d_transferType</a>, <a class="el" href="classfusb__devhandle.html#a1efb2b5a5c155cb1cb7843cf9144d6f3">fusb_devhandle::get_usb_dev_handle()</a>, <a class="el" href="structusb__dev__handle.html#ab08f2af9083159ae86648eae05b52c01">usb_dev_handle::impl_info</a>, <a class="el" href="structdarwin__dev__handle.html#a24033b6bf2283cebd863675951365439">darwin_dev_handle::interface</a>, <a class="el" href="classcircular__linked__list.html#a873b3b21f61ac088ec8e69a413289d8c">circular_linked_list< T >::iterate_next()</a>, <a class="el" href="classcircular__linked__list.html#aace2f5222a9d5b500b94001e81ec0159">circular_linked_list< T >::iterate_start()</a>, <a class="el" href="classmld__mutex__t.html#a76f6cb18d23e453b62eb5f7bcb8e14c5">mld_mutex_t::lock()</a>, <a class="el" href="classmld__condition__t.html#a441862c453ded6d106c088cf81f9ff7b">mld_condition_t::mutex()</a>, <a class="el" href="classcircular__linked__list.html#a7024056b0b227cb6e0bb0d7771d59971">circular_linked_list< T >::num_used()</a>, <a class="el" href="classs__node.html#a8051b14d5a222a3f9c60836f38216755">s_node< T >::object()</a>, <a class="el" href="classs__buffer.html#aa554e07718c3c8160b1e5de3f6a4ee97">s_buffer::reset()</a>, <a class="el" href="classcircular__buffer.html#acc29c0f342fa153d64561b622e3cf3d4">circular_buffer< T >::reset()</a>, <a class="el" href="classs__both.html#ac50997822c5ec236770136a594278098">s_both< T >::set()</a>, <a class="el" href="classs__node.html#ad71bf0bba7b638ef8772796e14b1040f">s_node< T >::set_available()</a>, <a class="el" href="fusb__darwin_8h.html#ae3f6d70c719c77e228ccc905331d7784">usb_debug</a>, <a class="el" href="darwin__libusb_8h.html#a91458181f6a0e61a1a81b135ced5aaa7">USB_ERROR_STR</a>, and <a class="el" href="classmld__condition__t.html#acbe1a1d16881771f6c42a24585c579f7">mld_condition_t::wait()</a>.</p> </div> </div> <a class="anchor" id="af1424a7d28d0fc927ecdd6a5c3c26ef0"></a><!-- doxytag: member="fusb_ephandle_darwin::stop" ref="af1424a7d28d0fc927ecdd6a5c3c26ef0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool fusb_ephandle_darwin::stop </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>stop streaming i/o </p> <p>Implements <a class="el" href="classfusb__ephandle.html#a3cfe2cbb78870a6ce0ec8f696ebe45ab">fusb_ephandle</a>.</p> <p>References <a class="el" href="classcircular__buffer.html#a1da17d5f94fe3ca1ffca42a5d307f4f5">circular_buffer< T >::abort()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aa5067d1f65048940bffdfdb7996ea8d3">abort()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">d_buffer</a>, <a class="el" href="classfusb__ephandle.html#a123fcada49a57077500fab084e537643">fusb_ephandle::d_input_p</a>, <a class="el" href="classfusb__ephandle.html#ad6506c0efdf8eea1dcd8df8d65ecc609">fusb_ephandle::d_started</a>, <a class="el" href="classmld__mutex__t.html#a76f6cb18d23e453b62eb5f7bcb8e14c5">mld_mutex_t::lock()</a>, <a class="el" href="classmld__mutex__t.html#a92ab8c4ffde527dc16b3ca79bc6e5cb5">mld_mutex_t::unlock()</a>, <a class="el" href="fusb__darwin_8h.html#ae3f6d70c719c77e228ccc905331d7784">usb_debug</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a456d75e85abf8c2d3e76c7bed03e9993">wait_for_completion()</a>.</p> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a456d75e85abf8c2d3e76c7bed03e9993"></a><!-- doxytag: member="fusb_ephandle_darwin::wait_for_completion" ref="a456d75e85abf8c2d3e76c7bed03e9993" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void fusb_ephandle_darwin::wait_for_completion </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="classfusb__ephandle.html#a1e1a2c7173a14aea99686fad7c0e061c">fusb_ephandle</a>.</p> <p>References <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a>, and <a class="el" href="classcircular__linked__list.html#a89aa83f4cce7dce63bac75d8161c193f">circular_linked_list< T >::in_use()</a>.</p> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#af1424a7d28d0fc927ecdd6a5c3c26ef0">stop()</a>.</p> </div> </div> <a class="anchor" id="ad703974c4df48763a1ec4d0d489237e3"></a><!-- doxytag: member="fusb_ephandle_darwin::write" ref="ad703974c4df48763a1ec4d0d489237e3" args="(const void *buffer, int nbytes)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int fusb_ephandle_darwin::write </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nbytes</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd><code>nbytes</code> if write was successfully enqueued, else -1. Will block if no free buffers available. </dd></dl> <p>Implements <a class="el" href="classfusb__ephandle.html#ab2a965c0f5fea6632bc08ea59c8c8fe1">fusb_ephandle</a>.</p> <p>References <a class="el" href="classs__node.html#ac3b0c2f62a6d14dcf295ae0238a6b5be">s_node< T >::both()</a>, <a class="el" href="classs__buffer.html#a56651b53e2bd68f9d963b94fc74685ec">s_buffer::buffer()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a49dd78e1e25808c08e9e47dbca1be46e">d_bufLenBytes</a>, <a class="el" href="classfusb__ephandle__darwin.html#a4c946cfbb61ca98f1c3afc5f14e693ec">d_interface</a>, <a class="el" href="classfusb__ephandle__darwin.html#a833a58e14de40f53f45df6ba213d2058">d_interfaceRef</a>, <a class="el" href="classfusb__ephandle__darwin.html#a0fe61b67ad1e4cf8e1f867b5d7428a90">d_pipeRef</a>, <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">d_queue</a>, <a class="el" href="classfusb__ephandle.html#ad6506c0efdf8eea1dcd8df8d65ecc609">fusb_ephandle::d_started</a>, <a class="el" href="classfusb__ephandle__darwin.html#a6335642bc300216ff8e43a28453c9b6d">d_transferType</a>, <a class="el" href="classcircular__linked__list.html#a7217a832472b5bfa0425c8ad60ef1e93">circular_linked_list< T >::find_next_available_node()</a>, <a class="el" href="classs__node.html#a8051b14d5a222a3f9c60836f38216755">s_node< T >::object()</a>, <a class="el" href="fusb__darwin_8h.html#ae3f6d70c719c77e228ccc905331d7784">usb_debug</a>, and <a class="el" href="darwin__libusb_8h.html#a91458181f6a0e61a1a81b135ced5aaa7">USB_ERROR_STR</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a86826bf2951e9be5f28d38f0bc38ec7b"></a><!-- doxytag: member="fusb_ephandle_darwin::d_buffer" ref="a86826bf2951e9be5f28d38f0bc38ec7b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcircular__buffer.html">circular_buffer</a><char>* <a class="el" href="classfusb__ephandle__darwin.html#a86826bf2951e9be5f28d38f0bc38ec7b">fusb_ephandle_darwin::d_buffer</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a9f45fa5d5fd0c1dda8244da08f707862">read()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, <a class="el" href="classfusb__ephandle__darwin.html#af1424a7d28d0fc927ecdd6a5c3c26ef0">stop()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a49dd78e1e25808c08e9e47dbca1be46e"></a><!-- doxytag: member="fusb_ephandle_darwin::d_bufLenBytes" ref="a49dd78e1e25808c08e9e47dbca1be46e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UInt32 <a class="el" href="classfusb__ephandle__darwin.html#a49dd78e1e25808c08e9e47dbca1be46e">fusb_ephandle_darwin::d_bufLenBytes</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>.</p> </div> </div> <a class="anchor" id="a4c946cfbb61ca98f1c3afc5f14e693ec"></a><!-- doxytag: member="fusb_ephandle_darwin::d_interface" ref="a4c946cfbb61ca98f1c3afc5f14e693ec" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">usb_interface_t* <a class="el" href="classfusb__ephandle__darwin.html#a4c946cfbb61ca98f1c3afc5f14e693ec">fusb_ephandle_darwin::d_interface</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#aa5067d1f65048940bffdfdb7996ea8d3">abort()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>.</p> </div> </div> <a class="anchor" id="a833a58e14de40f53f45df6ba213d2058"></a><!-- doxytag: member="fusb_ephandle_darwin::d_interfaceRef" ref="a833a58e14de40f53f45df6ba213d2058" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">usb_interface_t** <a class="el" href="classfusb__ephandle__darwin.html#a833a58e14de40f53f45df6ba213d2058">fusb_ephandle_darwin::d_interfaceRef</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#aa5067d1f65048940bffdfdb7996ea8d3">abort()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>.</p> </div> </div> <a class="anchor" id="a0fe61b67ad1e4cf8e1f867b5d7428a90"></a><!-- doxytag: member="fusb_ephandle_darwin::d_pipeRef" ref="a0fe61b67ad1e4cf8e1f867b5d7428a90" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UInt8 <a class="el" href="classfusb__ephandle__darwin.html#a0fe61b67ad1e4cf8e1f867b5d7428a90">fusb_ephandle_darwin::d_pipeRef</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#aa5067d1f65048940bffdfdb7996ea8d3">abort()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>.</p> </div> </div> <a class="anchor" id="a547ad950d744a4af1fcd1908bfc43135"></a><!-- doxytag: member="fusb_ephandle_darwin::d_queue" ref="a547ad950d744a4af1fcd1908bfc43135" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcircular__linked__list.html">s_queue_ptr</a> <a class="el" href="classfusb__ephandle__darwin.html#a547ad950d744a4af1fcd1908bfc43135">fusb_ephandle_darwin::d_queue</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, <a class="el" href="classfusb__ephandle__darwin.html#a456d75e85abf8c2d3e76c7bed03e9993">wait_for_completion()</a>, <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a0d8fda21374b8e9a8f4db0f62b6b5859"></a><!-- doxytag: member="fusb_ephandle_darwin::d_readBlock" ref="a0d8fda21374b8e9a8f4db0f62b6b5859" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmld__condition__t.html">mld_condition_ptr</a> <a class="el" href="classfusb__ephandle__darwin.html#a0d8fda21374b8e9a8f4db0f62b6b5859">fusb_ephandle_darwin::d_readBlock</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a0664ab88582650417b2cba3056a86cf0"></a><!-- doxytag: member="fusb_ephandle_darwin::d_readRunning" ref="a0664ab88582650417b2cba3056a86cf0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmld__mutex__t.html">mld_mutex_ptr</a> <a class="el" href="classfusb__ephandle__darwin.html#a0664ab88582650417b2cba3056a86cf0">fusb_ephandle_darwin::d_readRunning</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a6ccb2292bc75e3126891eb3dd2655af8"></a><!-- doxytag: member="fusb_ephandle_darwin::d_runBlock" ref="a6ccb2292bc75e3126891eb3dd2655af8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmld__condition__t.html">mld_condition_ptr</a> <a class="el" href="classfusb__ephandle__darwin.html#a6ccb2292bc75e3126891eb3dd2655af8">fusb_ephandle_darwin::d_runBlock</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#a75115bc11f04aa7b71f5c834817dc667">fusb_ephandle_darwin()</a>, <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#a7487f22bb9d633e00ed69fed86ce697b">~fusb_ephandle_darwin()</a>.</p> </div> </div> <a class="anchor" id="a6335642bc300216ff8e43a28453c9b6d"></a><!-- doxytag: member="fusb_ephandle_darwin::d_transferType" ref="a6335642bc300216ff8e43a28453c9b6d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UInt8 <a class="el" href="classfusb__ephandle__darwin.html#a6335642bc300216ff8e43a28453c9b6d">fusb_ephandle_darwin::d_transferType</a></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="classfusb__ephandle__darwin.html#aca1441ae1cd0cff2008c23db7cff9482">start()</a>, and <a class="el" href="classfusb__ephandle__darwin.html#ad703974c4df48763a1ec4d0d489237e3">write()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="fusb__darwin_8h_source.html">fusb_darwin.h</a></li> <li><a class="el" href="fusb__darwin_8cc.html">fusb_darwin.cc</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Feb 17 2011 for Universal Software Radio Peripheral by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>