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)
 
- Public Member Functions inherited from USB::HostInterface
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

- Protected Attributes inherited from USB::HostInterface
Instance inst
 

Member Typedef Documentation

◆ ReportReceived

Member Function Documentation

◆ onReport()

void USB::HID::HostDevice::onReport ( ReportReceived  callback)
inline

◆ reportReceived()

void USB::HID::HostDevice::reportReceived ( const Report report)
inline

◆ requestReport()

bool USB::HID::HostDevice::requestReport ( )
inline

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