git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@158 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
39 lines
698 B
Java
39 lines
698 B
Java
package ch.ntb.usb;
|
|
|
|
/**
|
|
* Represents an USB bus.<br>
|
|
* This is the root class for the representation of the libusb USB structure.
|
|
* Zero or more devices may be connected to an USB bus.
|
|
*
|
|
* @author schlaepfer
|
|
*
|
|
*/
|
|
public class Usb_Bus {
|
|
|
|
/**
|
|
* The next and previous bus object
|
|
*/
|
|
public Usb_Bus next, prev;
|
|
|
|
/**
|
|
* Systems String representation of the bus
|
|
*/
|
|
public String dirname;
|
|
|
|
/**
|
|
* Device objects attached to this bus
|
|
*/
|
|
public Usb_Device devices;
|
|
|
|
/**
|
|
* Location in the USB bus linked list
|
|
*/
|
|
public long location;
|
|
|
|
public Usb_Device root_dev;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Usb_Bus " + dirname;
|
|
}
|
|
} |