USB Host Shield 2.0
Public Member Functions | Protected Member Functions | List of all members
ReportDescParser2 Class Reference

#include <hidescriptorparser.h>

Inheritance diagram for ReportDescParser2:
Inheritance graph
[legend]
Collaboration diagram for ReportDescParser2:
Collaboration graph
[legend]

Public Member Functions

 ReportDescParser2 (uint16_t len, uint8_t *pbuf)
 
- Public Member Functions inherited from ReportDescParserBase
 ReportDescParserBase ()
 
void Parse (const uint16_t len, const uint8_t *pbuf, const uint16_t &offset)
 

Protected Member Functions

virtual uint8_t ParseItem (uint8_t **pp, uint16_t *pcntdn)
 
- Protected Member Functions inherited from ReportDescParserBase
void SetUsagePage (uint16_t page)
 

Additional Inherited Members

- Public Types inherited from ReportDescParserBase
enum  { enErrorSuccess = 0, enErrorIncomplete, enErrorBufferTooSmall }
 
typedef void(* UsagePageFunc) (uint16_t usage)
 
- Static Public Member Functions inherited from ReportDescParserBase
static void PrintGenericDesktopPageUsage (uint16_t usage)
 
static void PrintSimulationControlsPageUsage (uint16_t usage)
 
static void PrintVRControlsPageUsage (uint16_t usage)
 
static void PrintSportsControlsPageUsage (uint16_t usage)
 
static void PrintGameControlsPageUsage (uint16_t usage)
 
static void PrintGenericDeviceControlsPageUsage (uint16_t usage)
 
static void PrintLEDPageUsage (uint16_t usage)
 
static void PrintButtonPageUsage (uint16_t usage)
 
static void PrintOrdinalPageUsage (uint16_t usage)
 
static void PrintTelephonyPageUsage (uint16_t usage)
 
static void PrintConsumerPageUsage (uint16_t usage)
 
static void PrintDigitizerPageUsage (uint16_t usage)
 
static void PrintAlphanumDisplayPageUsage (uint16_t usage)
 
static void PrintMedicalInstrumentPageUsage (uint16_t usage)
 
static void PrintValue (uint8_t *p, uint8_t len)
 
static void PrintByteValue (uint8_t data)
 
static void PrintItemTitle (uint8_t prefix)
 
- Static Public Attributes inherited from ReportDescParserBase
static const char *const usagePageTitles0 []
 
static const char *const usagePageTitles1 []
 
static const char *const genDesktopTitles0 []
 
static const char *const genDesktopTitles1 []
 
static const char *const genDesktopTitles2 []
 
static const char *const genDesktopTitles3 []
 
static const char *const genDesktopTitles4 []
 
static const char *const simuTitles0 []
 
static const char *const simuTitles1 []
 
static const char *const simuTitles2 []
 
static const char *const vrTitles0 []
 
static const char *const vrTitles1 []
 
static const char *const sportsCtrlTitles0 []
 
static const char *const sportsCtrlTitles1 []
 
static const char *const sportsCtrlTitles2 []
 
static const char *const gameTitles0 []
 
static const char *const gameTitles1 []
 
static const char *const genDevCtrlTitles []
 
static const char *const ledTitles []
 
static const char *const telTitles0 []
 
static const char *const telTitles1 []
 
static const char *const telTitles2 []
 
static const char *const telTitles3 []
 
static const char *const telTitles4 []
 
static const char *const telTitles5 []
 
static const char *const consTitles0 []
 
static const char *const consTitles1 []
 
static const char *const consTitles2 []
 
static const char *const consTitles3 []
 
static const char *const consTitles4 []
 
static const char *const consTitles5 []
 
static const char *const consTitles6 []
 
static const char *const consTitles7 []
 
static const char *const consTitles8 []
 
static const char *const consTitles9 []
 
static const char *const consTitlesA []
 
static const char *const consTitlesB []
 
static const char *const consTitlesC []
 
static const char *const consTitlesD []
 
static const char *const consTitlesE []
 
static const char *const digitTitles0 []
 
static const char *const digitTitles1 []
 
static const char *const digitTitles2 []
 
static const char *const aplphanumTitles0 []
 
static const char *const aplphanumTitles1 []
 
static const char *const aplphanumTitles2 []
 
static const char *const medInstrTitles0 []
 
static const char *const medInstrTitles1 []
 
static const char *const medInstrTitles2 []
 
static const char *const medInstrTitles3 []
 
static const char *const medInstrTitles4 []
 
- Static Protected Member Functions inherited from ReportDescParserBase
static void PrintUsagePage (uint16_t page)
 
- Protected Attributes inherited from ReportDescParserBase
MultiValueBuffer theBuffer
 
MultiByteValueParser valParser
 
ByteSkipper theSkipper
 
uint8_t varBuffer [sizeof(USB_CONFIGURATION_DESCRIPTOR)]
 
uint8_t itemParseState
 
uint8_t itemSize
 
uint8_t itemPrefix
 
uint8_t rptSize
 
uint8_t rptCount
 
uint16_t totalSize
 
UsagePageFunc pfUsage
 
- Static Protected Attributes inherited from ReportDescParserBase
static UsagePageFunc usagePageFunctions []
 

Detailed Description

Definition at line 148 of file hidescriptorparser.h.

Constructor & Destructor Documentation

◆ ReportDescParser2()

ReportDescParser2::ReportDescParser2 ( uint16_t  len,
uint8_t *  pbuf 
)
inline

Definition at line 165 of file hidescriptorparser.h.

Member Function Documentation

◆ ParseItem()

uint8_t ReportDescParser2::ParseItem ( uint8_t **  pp,
uint16_t *  pcntdn 
)
protectedvirtual

Reimplemented from ReportDescParserBase.

Definition at line 1429 of file hidescriptorparser.cpp.


The documentation for this class was generated from the following files: