A library for reading/wring data via USB-UART adapters
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules
Public Member Functions | Static Public Member Functions | List of all members
usbuart::driver::factory Class Referenceabstract

Driver factory registrar TO register a factory: More...

Public Member Functions

virtual drivercreate (libusb_device_handle *, uint8_t=0) const =0 throw (error_t)

Static Public Member Functions

static device_id devid (libusb_device_handle *) noexcept
static constexpr uint32_t devid32 (uint16_t vid, uint16_t pid) noexcept
static constexpr uint32_t devid32 (const device_id &dev) noexcept

Detailed Description

  1. derive from this class,
  2. implement probe method
  3. implement create method
  1. create a (static) instance of it

Definition at line 104 of file usbuart.hpp.

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