USB_Host_Shield_2.0/hidescriptorparser_8h_source.html

292 lines
56 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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"/>
2013-06-17 20:33:24 +02:00
<meta name="generator" content="Doxygen 1.8.4"/>
<title>USB Host Shield 2.0: hidescriptorparser.h Source File</title>
2013-01-30 22:00:18 +01:00
<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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
2013-01-30 22:00:18 +01:00
</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">USB Host Shield 2.0
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2013-06-17 20:33:24 +02:00
<!-- Generated by Doxygen 1.8.4 -->
2013-01-30 22:00:18 +01:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
2013-01-30 22:00:18 +01:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">hidescriptorparser.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="hidescriptorparser_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">This software may be distributed and modified under the terms of the GNU</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">on this software must also be made publicly available under the terms of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">-------------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div>
2013-04-01 22:52:24 +02:00
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
2013-01-30 22:00:18 +01:00
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#if !defined(__HIDDESCRIPTORPARSER_H__)</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __HIDDESCRIPTORPARSER_H__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="avrpins_8h.html">avrpins.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="max3421e_8h.html">max3421e.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="usbhost_8h.html">usbhost.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="usb__ch9_8h.html">usb_ch9.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_usb_8h.html">Usb.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;=100</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;Arduino.h&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;WProgram.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="printhex_8h.html">printhex.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hexdump_8h.html">hexdump.h</a>&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="message_8h.html">message.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="confdescparser_8h.html">confdescparser.h</a>&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hid_8h.html">hid.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
2013-04-01 22:52:24 +02:00
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html"> 40</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2"> 42</a></span>&#160; <span class="keyword">typedef</span> void (*<a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a>)(uint16_t usage);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3eff46688f9edbee3a58c43bbf104763">PrintGenericDesktopPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aa316c748b795fbe80cdd2f69e83c7ae4">PrintSimulationControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a938d53101e5ab4e5831276efb298fea9">PrintVRControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3db34bff0d14731df402a20fb67838d9">PrintSportsControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a4e026cfeda7bfe9e07cf247cbcc4a122">PrintGameControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1b5cb93a83e2212319fe30f1a1636478">PrintGenericDeviceControlsPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#af86c8a065849b37590d88f68be85e293">PrintLEDPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a928f2b689012051dfe20e46bd7b21ed3">PrintButtonPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1b0cc07f038faef88431c87065370dce">PrintOrdinalPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#ac01bf8776f485b478c3bb64887e446b4">PrintTelephonyPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a9af1dc144bab9e9864394594be67d2eb">PrintConsumerPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aa62d11cfe404ee51ffd26f13c33800a1">PrintDigitizerPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#af2d133ba2b6b7d5ac3c0db3ffac531d0">PrintAlphanumDisplayPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a17e7613faa695c5d654f1cd6d9262cf4">PrintMedicalInstrumentPageUsage</a>(uint16_t usage);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a3c160efea3854223f0e171a9d97a07cd">PrintValue</a>(uint8_t *p, uint8_t len);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a1af970b456e54342e15a88ffd98ca6cc">PrintByteValue</a>(uint8_t data);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#aef5ef3133e573ff3bdcc7861e8ebc921">PrintItemTitle</a>(uint8_t prefix);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7f723a8b7bddd061aee7f0af06aeae08"> 64</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a7f723a8b7bddd061aee7f0af06aeae08">usagePageTitles0</a>[];</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae6dadd42986663f261aac948d24911a6"> 65</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ae6dadd42986663f261aac948d24911a6">usagePageTitles1</a>[];</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3021443d9320135788844c166240149f"> 66</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a3021443d9320135788844c166240149f">genDesktopTitles0</a>[];</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a0cca04764c613389545ab02cce068367"> 67</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a0cca04764c613389545ab02cce068367">genDesktopTitles1</a>[];</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a043e24aa742e9257202a2dc80725122c"> 68</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a043e24aa742e9257202a2dc80725122c">genDesktopTitles2</a>[];</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#acef88e30e3582b47deecf615495a3e8d"> 69</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#acef88e30e3582b47deecf615495a3e8d">genDesktopTitles3</a>[];</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae2b1ca00d24f5c3867c90ea49ffa6e0d"> 70</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ae2b1ca00d24f5c3867c90ea49ffa6e0d">genDesktopTitles4</a>[];</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a6995298d3333564e02e06bf94f0ca5ca"> 71</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a6995298d3333564e02e06bf94f0ca5ca">simuTitles0</a>[];</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a934e0398770633c85a9e9f8cfb319f0a"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a934e0398770633c85a9e9f8cfb319f0a">simuTitles1</a>[];</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5d9d0f1b2820bbfdddf6d54e1d826c83"> 73</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a5d9d0f1b2820bbfdddf6d54e1d826c83">simuTitles2</a>[];</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a42d34a0a49f987c9dcfdd4fb8d42bf0d"> 74</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a42d34a0a49f987c9dcfdd4fb8d42bf0d">vrTitles0</a>[];</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a41af57cb0fb0bbed7277bcd04a9e9fe9"> 75</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a41af57cb0fb0bbed7277bcd04a9e9fe9">vrTitles1</a>[];</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4daf2daa3c18f446a66854475ca56a66"> 76</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a4daf2daa3c18f446a66854475ca56a66">sportsCtrlTitles0</a>[];</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a24a3f083c728c7549929cb8af0e52451"> 77</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a24a3f083c728c7549929cb8af0e52451">sportsCtrlTitles1</a>[];</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9491a62b6a44bf98884ca1dd16b45df2"> 78</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a9491a62b6a44bf98884ca1dd16b45df2">sportsCtrlTitles2</a>[];</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a981cacbfad335b19528e59ab2de866e5"> 79</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a981cacbfad335b19528e59ab2de866e5">gameTitles0</a>[];</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac9327d02115b1dd60c79c37d1d11cf41"> 80</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ac9327d02115b1dd60c79c37d1d11cf41">gameTitles1</a>[];</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a55e8f870eb0006bc3a9ca42e6cabf187"> 81</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a55e8f870eb0006bc3a9ca42e6cabf187">genDevCtrlTitles</a>[];</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7425dac090961547ddf7622112b98a9e"> 82</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a7425dac090961547ddf7622112b98a9e">ledTitles</a>[];</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae86d70945d59c48153463bca302bd356"> 83</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ae86d70945d59c48153463bca302bd356">telTitles0</a>[];</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9e83e4d47816c0330ccae5bd31e10031"> 84</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a9e83e4d47816c0330ccae5bd31e10031">telTitles1</a>[];</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aefc1ad5b2631c5184c5e58ac44cfbb80"> 85</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#aefc1ad5b2631c5184c5e58ac44cfbb80">telTitles2</a>[];</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#acc9f0e2b103473be060684e451432661"> 86</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#acc9f0e2b103473be060684e451432661">telTitles3</a>[];</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a9d51bfc5c2e04a8eaf25561d6d97ae00"> 87</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a9d51bfc5c2e04a8eaf25561d6d97ae00">telTitles4</a>[];</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3882e20433145daa93bd23d4cff779e9"> 88</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a3882e20433145daa93bd23d4cff779e9">telTitles5</a>[];</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a81af202145ab2899b222170b0d681213"> 89</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a81af202145ab2899b222170b0d681213">consTitles0</a>[];</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4997a30230193326b84fb8f3d3d30536"> 90</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a4997a30230193326b84fb8f3d3d30536">consTitles1</a>[];</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7b760abbe1a67f241a9c6d34da9207f4"> 91</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a7b760abbe1a67f241a9c6d34da9207f4">consTitles2</a>[];</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae481ca9afe5a7d500664b6802c985d8b"> 92</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ae481ca9afe5a7d500664b6802c985d8b">consTitles3</a>[];</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ace9cf011244ddade875cb8f2921c3d58"> 93</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ace9cf011244ddade875cb8f2921c3d58">consTitles4</a>[];</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a0f96db464d287695f7611f38ca9b0058"> 94</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a0f96db464d287695f7611f38ca9b0058">consTitles5</a>[];</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#af4da29c34852a2589de1c64a0bf8e4b3"> 95</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#af4da29c34852a2589de1c64a0bf8e4b3">consTitles6</a>[];</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac1cf3d87296aa74a35627079a5cd1753"> 96</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ac1cf3d87296aa74a35627079a5cd1753">consTitles7</a>[];</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3b4a0c98b10afe968027e78281efc752"> 97</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a3b4a0c98b10afe968027e78281efc752">consTitles8</a>[];</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ac47d6ae6c995224d151aed3403f2e38f"> 98</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ac47d6ae6c995224d151aed3403f2e38f">consTitles9</a>[];</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a27f2a10cbf94bc44a25d221d794ce3f3"> 99</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a27f2a10cbf94bc44a25d221d794ce3f3">consTitlesA</a>[];</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a0c406d39f05eaa4f708af495c5d20bbb"> 100</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a0c406d39f05eaa4f708af495c5d20bbb">consTitlesB</a>[];</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a149498f082b56537f6958f35cdf72485"> 101</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a149498f082b56537f6958f35cdf72485">consTitlesC</a>[];</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4db83eb7ee2c16ff29da2c09dbf182f3"> 102</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a4db83eb7ee2c16ff29da2c09dbf182f3">consTitlesD</a>[];</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a46332dbba5ab524aedb370684510c990"> 103</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a46332dbba5ab524aedb370684510c990">consTitlesE</a>[];</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a298396c59609fab20c2a5eedb3ca0b87"> 104</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a298396c59609fab20c2a5eedb3ca0b87">digitTitles0</a>[];</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#abc5202f47578494d3f6008413f632873"> 105</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#abc5202f47578494d3f6008413f632873">digitTitles1</a>[];</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#addaa9b5724f7d1ca10ba4ca14decd40d"> 106</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#addaa9b5724f7d1ca10ba4ca14decd40d">digitTitles2</a>[];</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5cd50b03ac2d022ca55e6a5bbd448ac8"> 107</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a5cd50b03ac2d022ca55e6a5bbd448ac8">aplphanumTitles0</a>[];</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#afac5fab915e65babde2645e09b66e74f"> 108</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#afac5fab915e65babde2645e09b66e74f">aplphanumTitles1</a>[];</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#ae0090afb0e090b539fcaa4b71f099b08"> 109</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#ae0090afb0e090b539fcaa4b71f099b08">aplphanumTitles2</a>[];</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3d8d0fa8512f718e8b574e4d9e8a775f"> 110</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a3d8d0fa8512f718e8b574e4d9e8a775f">medInstrTitles0</a>[];</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a3e22173cfb0358f71357224f88ba7233"> 111</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a3e22173cfb0358f71357224f88ba7233">medInstrTitles1</a>[];</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aee85293ab9a08f5e348fe339f7e4e7e9"> 112</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#aee85293ab9a08f5e348fe339f7e4e7e9">medInstrTitles2</a>[];</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a986eebc1d44ff6c7b2779c584640bfa8"> 113</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#a986eebc1d44ff6c7b2779c584640bfa8">medInstrTitles3</a>[];</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#abf57eb862e09967eb05a234f81b4a9d4"> 114</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="class_report_desc_parser_base.html#abf57eb862e09967eb05a234f81b4a9d4">medInstrTitles4</a>[];</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#af91679187bb24d185979b3ec045c215b"> 117</a></span>&#160; <span class="keyword">static</span> <a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a> <a class="code" href="class_report_desc_parser_base.html#af91679187bb24d185979b3ec045c215b">usagePageFunctions</a>[];</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9"> 119</a></span>&#160; <a class="code" href="struct_multi_value_buffer.html">MultiValueBuffer</a> <a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206"> 120</a></span>&#160; <a class="code" href="class_multi_byte_value_parser.html">MultiByteValueParser</a> <a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206">valParser</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23"> 121</a></span>&#160; <a class="code" href="class_byte_skipper.html">ByteSkipper</a> <a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23">theSkipper</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13"> 122</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13">varBuffer</a>[<span class="keyword">sizeof</span>(<a class="code" href="struct_u_s_b___c_o_n_f_i_g_u_r_a_t_i_o_n___d_e_s_c_r_i_p_t_o_r.html">USB_CONFIGURATION_DESCRIPTOR</a>)];</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25"> 124</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25">itemParseState</a>; <span class="comment">// Item parser state variable</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab"> 125</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab">itemSize</a>; <span class="comment">// Item size</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d"> 126</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d">itemPrefix</a>; <span class="comment">// Item prefix (first byte)</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247"> 127</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247">rptSize</a>; <span class="comment">// Report Size</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14"> 128</a></span>&#160; uint8_t <a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14">rptCount</a>; <span class="comment">// Report Count</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#aa5223ad6eb8be8c7fb53a98d4ddde594"> 130</a></span>&#160; uint16_t <a class="code" href="class_report_desc_parser_base.html#aa5223ad6eb8be8c7fb53a98d4ddde594">totalSize</a>; <span class="comment">// Report size in bits</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_report_desc_parser_base.html#ac1d6c015d9a2527bb2044e9a96fcaaf9">ParseItem</a>(uint8_t **pp, uint16_t *pcntdn);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452"> 134</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#aeb139df01922910be7558b3c3a893db2">UsagePageFunc</a> <a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452">pfUsage</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a789ad1fbd8437296627412a2b4a255a3">PrintUsagePage</a>(uint16_t page);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a42fbc8fbccaf67eab88bd98b8d3bdd3f">SetUsagePage</a>(uint16_t page);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a607a81ff9d8f282298533a1dbf10f8e1"> 141</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#a607a81ff9d8f282298533a1dbf10f8e1">ReportDescParserBase</a>() :</div>
2013-01-30 22:00:18 +01:00
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="class_report_desc_parser_base.html#adfc790524e25a7ad715b1e9adff54a25">itemParseState</a>(0),</div>
2013-04-01 22:52:24 +02:00
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a4f0da61c408fc42e373b6cc03cd97fab">itemSize</a>(0),</div>
2013-01-30 22:00:18 +01:00
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a70693c641100c952022ec5c160de1a8d">itemPrefix</a>(0),</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a222b1c03a4f3e49283a58ecaa853e247">rptSize</a>(0),</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a2c15a93cace44e39560e4613bbefaf14">rptCount</a>(0),</div>
2013-04-01 22:52:24 +02:00
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a22006cbf92a3d4008695e53d7f6e2452">pfUsage</a>(NULL) {</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>.<a class="code" href="struct_multi_value_buffer.html#a3b5ab6facf7b6b872029ed3be0de4c1e">pValue</a> = <a class="code" href="class_report_desc_parser_base.html#a82cde32720eba596e5864fe7d541ea13">varBuffer</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a8833e671168779d081e7f50e579bc206">valParser</a>.<a class="code" href="class_multi_byte_value_parser.html#a9bd52b4e180d68dbb8f97c059250f4c3">Initialize</a>(&amp;<a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="class_report_desc_parser_base.html#a23b769d890d9f578fd6b8f47cb1f7e23">theSkipper</a>.<a class="code" href="class_byte_skipper.html#a274a09686d5535e11961d2ccf38ffa08">Initialize</a>(&amp;<a class="code" href="class_report_desc_parser_base.html#a5ac0dd6f06df15a4cd2bad3fa175e7b9">theBuffer</a>);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; };</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_report_desc_parser_base.html#a7ecd266cbbbc18460ab8823651225e6b">Parse</a>(<span class="keyword">const</span> uint16_t len, <span class="keyword">const</span> uint8_t *pbuf, <span class="keyword">const</span> uint16_t &amp;offset);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473ab24601408ad7a26379df557dab8f073a"> 156</a></span>&#160; <a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473ab24601408ad7a26379df557dab8f073a">enErrorSuccess</a> = 0</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473a36c789b01edcb0e3bd8fc74ad6450975"> 157</a></span>&#160; , <a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473a36c789b01edcb0e3bd8fc74ad6450975">enErrorIncomplete</a> <span class="comment">// value or record is partialy read in buffer</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473af987a827c15a079e71ad438be18366d4"> 158</a></span>&#160; , <a class="code" href="class_report_desc_parser_base.html#a7ad0ba85d8c34ebfff933d2cf8f55473af987a827c15a079e71ad438be18366d4">enErrorBufferTooSmall</a></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; };</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;};</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_report_desc_parser.html"> 162</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser.html">ReportDescParser</a> : <span class="keyword">public</span> <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a> {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;};</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="class_report_desc_parser2.html"> 165</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_report_desc_parser2.html">ReportDescParser2</a> : <span class="keyword">public</span> <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a> {</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; uint8_t rptId; <span class="comment">// Report ID</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; uint8_t useMin; <span class="comment">// Usage Minimum</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; uint8_t useMax; <span class="comment">// Usage Maximum</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; uint8_t fieldCount; <span class="comment">// Number of field being currently processed</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">void</span> OnInputItem(uint8_t itm); <span class="comment">// Method which is called every time Input item is found</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; uint8_t *pBuf; <span class="comment">// Report buffer pointer</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; uint8_t bLen; <span class="comment">// Report length</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_report_desc_parser2.html#a84242b62a5d202b5d2d6fe26809bc0e2">ParseItem</a>(uint8_t **pp, uint16_t *pcntdn);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_report_desc_parser2.html#a6ee7a47ffbc5c2905506c10039fcfaff"> 181</a></span>&#160; <a class="code" href="class_report_desc_parser2.html#a6ee7a47ffbc5c2905506c10039fcfaff">ReportDescParser2</a>(uint16_t len, uint8_t *pbuf) :</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="class_report_desc_parser_base.html">ReportDescParserBase</a>(), rptId(0), useMin(0), useMax(0), fieldCount(0), pBuf(pbuf), bLen(len) {</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; };</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;};</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="class_universal_report_parser.html"> 186</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_universal_report_parser.html">UniversalReportParser</a> : <span class="keyword">public</span> <a class="code" href="class_h_i_d_report_parser.html">HIDReportParser</a> {</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_universal_report_parser.html#a7b88d36949e3823cd80b3c7cece3d67e">Parse</a>(<a class="code" href="class_h_i_d.html">HID</a> *hid, <span class="keywordtype">bool</span> is_rpt_id, uint8_t len, uint8_t *buf);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;};</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="preprocessor">#endif // __HIDDESCRIPTORPARSER_H__</span></div>
2013-01-30 22:00:18 +01:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
2013-06-17 20:33:24 +02:00
</a> 1.8.4
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>