Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
IoForgeUSB Class Reference

#include <ioforge_usb.hpp>

Inheritance diagram for IoForgeUSB:
IOForge UsbHid UsbHid UsbHid

Public Member Functions

 IoForgeUSB (const char *mod)
 
virtual void load ()
 
virtual void unload ()
 
- Public Member Functions inherited from IOForge
 IOForge (const char *mod)
 

Static Public Member Functions

template<typename Fn>
static void foreach_usb_device_by_devclass (struct ioforge_device *node, uint16_t devclass, Fn &&fn)
 
static uint8_t get_configuration (struct ioforge_usb_device *dev)
 
static void set_configuration (struct ioforge_usb_device *dev, uint8_t val)
 

Additional Inherited Members

- Protected Attributes inherited from IOForge
const char * mod
 

Detailed Description

Definition at line 8 of file ioforge_usb.hpp.

Constructor & Destructor Documentation

◆ IoForgeUSB()

IoForgeUSB::IoForgeUSB ( const char * mod)
inline

Definition at line 10 of file ioforge_usb.hpp.

References IOForge::IOForge(), and IOForge::mod.

Referenced by UsbHid::UsbHid().

Member Function Documentation

◆ foreach_usb_device_by_devclass()

template<typename Fn>
static void IoForgeUSB::foreach_usb_device_by_devclass ( struct ioforge_device * node,
uint16_t devclass,
Fn && fn )
inlinestatic

Definition at line 16 of file ioforge_usb.hpp.

References ioforge_find_usb_device_by_devclass().

Referenced by UsbHid::load().

◆ get_configuration()

◆ load()

virtual void IoForgeUSB::load ( )
virtual

Reimplemented in UsbHid, UsbHid, and UsbHid.

◆ set_configuration()

◆ unload()

virtual void IoForgeUSB::unload ( )
virtual

Reimplemented in UsbHid, UsbHid, and UsbHid.


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