Public Member Functions | Static Public Member Functions | Public Attributes
lusb::UsbDevice::Location Class Reference

#include <UsbDevice.h>

List of all members.

Public Member Functions

 Location ()
 Location (uint8_t _bus, uint8_t _port=0, uint8_t _addr=0, uint16_t _vid=0, uint16_t _pid=0)
bool match (const Location &other) const
bool operator!= (const Location &other) const
bool operator< (const Location &other) const
bool operator<= (const Location &other) const
bool operator== (const Location &other) const
bool operator> (const Location &other) const
bool operator>= (const Location &other) const

Static Public Member Functions

static bool match (const Location &a, const Location &b)

Public Attributes

union {
   struct {
      uint8_t   __pad0__:8
      uint8_t   addr
      uint8_t   bus
      uint8_t   port
   } 
   uint32_t   loc
}; 
uint16_t pid
uint16_t vid

Detailed Description

Definition at line 72 of file UsbDevice.h.


Constructor & Destructor Documentation

Definition at line 74 of file UsbDevice.h.

lusb::UsbDevice::Location::Location ( uint8_t  _bus,
uint8_t  _port = 0,
uint8_t  _addr = 0,
uint16_t  _vid = 0,
uint16_t  _pid = 0 
) [inline]

Definition at line 75 of file UsbDevice.h.


Member Function Documentation

static bool lusb::UsbDevice::Location::match ( const Location a,
const Location b 
) [inline, static]

Definition at line 82 of file UsbDevice.h.

bool lusb::UsbDevice::Location::match ( const Location other) const [inline]

Definition at line 88 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator!= ( const Location other) const [inline]

Definition at line 94 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator< ( const Location other) const [inline]

Definition at line 97 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator<= ( const Location other) const [inline]

Definition at line 103 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator== ( const Location other) const [inline]

Definition at line 91 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator> ( const Location other) const [inline]

Definition at line 100 of file UsbDevice.h.

bool lusb::UsbDevice::Location::operator>= ( const Location other) const [inline]

Definition at line 106 of file UsbDevice.h.


Member Data Documentation

union { ... }

Definition at line 115 of file UsbDevice.h.

Definition at line 113 of file UsbDevice.h.

Definition at line 112 of file UsbDevice.h.

Definition at line 110 of file UsbDevice.h.

Definition at line 119 of file UsbDevice.h.

Definition at line 114 of file UsbDevice.h.

Definition at line 118 of file UsbDevice.h.


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


lusb
Author(s): Kevin Hallenbeck
autogenerated on Sat Jun 8 2019 20:53:01