USB::HID::HostDevice Class Reference
#include <HostDevice.h>
Inheritance diagram for USB::HID::HostDevice:
Collaboration diagram for USB::HID::HostDevice:
Public Types | |
using | ReportReceived = Delegate< void(const Report &report)> |
Public Member Functions | |
bool | requestReport () |
void | onReport (ReportReceived callback) |
void | reportReceived (const Report &report) |
![]() | |
void | begin (const Instance &inst) |
Descendant classes should override this method to peform initialisation. More... | |
virtual void | end () |
Called when device is disconnected. Override as required. More... | |
const char * | getName () const |
uint8_t | getAddress () const |
bool | operator== (const HostInterface &other) const |
bool | operator== (const Instance &other) const |
Additional Inherited Members | |
![]() | |
Instance | inst |
Member Typedef Documentation
◆ ReportReceived
using USB::HID::HostDevice::ReportReceived = Delegate<void(const Report& report)> |
Member Function Documentation
◆ onReport()
|
inline |
◆ reportReceived()
|
inline |
◆ requestReport()
|
inline |
The documentation for this class was generated from the following file: