USB_Host_Shield_2.0/class_midi_desc_parser.html

250 lines
11 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>USB Host Shield 2.0: MidiDescParser Class 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_midi_desc_parser-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MidiDescParser Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for MidiDescParser:</div>
<div class="dyncontent">
<div class="center"><img src="class_midi_desc_parser__inherit__graph.png" border="0" usemap="#a_midi_desc_parser_inherit__map" alt="Inheritance graph"/></div>
<map name="a_midi_desc_parser_inherit__map" id="a_midi_desc_parser_inherit__map">
<area shape="rect" title=" " alt="" coords="5,80,128,107"/>
<area shape="rect" href="class_u_s_b_read_parser.html" title=" " alt="" coords="5,5,128,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for MidiDescParser:</div>
<div class="dyncontent">
<div class="center"><img src="class_midi_desc_parser__coll__graph.png" border="0" usemap="#a_midi_desc_parser_coll__map" alt="Collaboration graph"/></div>
<map name="a_midi_desc_parser_coll__map" id="a_midi_desc_parser_coll__map">
<area shape="rect" title=" " alt="" coords="5,80,128,107"/>
<area shape="rect" href="class_u_s_b_read_parser.html" title=" " alt="" coords="5,5,128,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a73ad6ad9905a7ff130bf5c0f267eb77a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a73ad6ad9905a7ff130bf5c0f267eb77a">MidiDescParser</a> (<a class="el" href="class_usb_midi_config_xtracter.html">UsbMidiConfigXtracter</a> *xtractor, bool modeMidi)</td></tr>
<tr class="separator:a73ad6ad9905a7ff130bf5c0f267eb77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a181d16588ff810dfb7a63c31ca68d7b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a181d16588ff810dfb7a63c31ca68d7b1">Parse</a> (const uint16_t len, const uint8_t *pbuf, const uint16_t &amp;offset)</td></tr>
<tr class="separator:a181d16588ff810dfb7a63c31ca68d7b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b3d13f2deafad928f3ec049d6fb800b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#a6b3d13f2deafad928f3ec049d6fb800b">getConfValue</a> ()</td></tr>
<tr class="separator:a6b3d13f2deafad928f3ec049d6fb800b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85a5d420aaf4ff4d5e30b54e0ce9309"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_midi_desc_parser.html#ab85a5d420aaf4ff4d5e30b54e0ce9309">getNumEPs</a> ()</td></tr>
<tr class="separator:ab85a5d420aaf4ff4d5e30b54e0ce9309"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00053">53</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a73ad6ad9905a7ff130bf5c0f267eb77a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73ad6ad9905a7ff130bf5c0f267eb77a">&#9670;&nbsp;</a></span>MidiDescParser()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MidiDescParser::MidiDescParser </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_usb_midi_config_xtracter.html">UsbMidiConfigXtracter</a> *&#160;</td>
<td class="paramname"><em>xtractor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>modeMidi</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbh__midi_8cpp_source.html#l00555">555</a> of file <a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a181d16588ff810dfb7a63c31ca68d7b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a181d16588ff810dfb7a63c31ca68d7b1">&#9670;&nbsp;</a></span>Parse()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MidiDescParser::Parse </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint8_t *&#160;</td>
<td class="paramname"><em>pbuf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t &amp;&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="class_u_s_b_read_parser.html#afdb9cea2a2fe18d26f4ec595b86a7f7c">USBReadParser</a>.</p>
<p class="definition">Definition at line <a class="el" href="usbh__midi_8cpp_source.html#l00566">566</a> of file <a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a>.</p>
</div>
</div>
<a id="a6b3d13f2deafad928f3ec049d6fb800b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b3d13f2deafad928f3ec049d6fb800b">&#9670;&nbsp;</a></span>getConfValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t MidiDescParser::getConfValue </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00075">75</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
</div>
</div>
<a id="ab85a5d420aaf4ff4d5e30b54e0ce9309"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab85a5d420aaf4ff4d5e30b54e0ce9309">&#9670;&nbsp;</a></span>getNumEPs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t MidiDescParser::getNumEPs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="usbh__midi_8h_source.html#l00076">76</a> of file <a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="usbh__midi_8h_source.html">usbh_midi.h</a></li>
<li><a class="el" href="usbh__midi_8cpp_source.html">usbh_midi.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>