USB::Bus Class Reference
Class representing a single bus on the machine. More...
#include <usbpp.h>
Inherits list.
Public Member Functions | |
std::string | directoryName (void) |
OS representation of directory name for this Bus. | |
Friends | |
class | Busses |
Busses is a friend because it fills in the directory name information on initialisation and rescan. |
Detailed Description
Class representing a single bus on the machine.This class is essentially a list of Device class instances
Definition at line 697 of file usbpp.h.
Member Function Documentation
std::string USB::Bus::directoryName | ( | void | ) |
OS representation of directory name for this Bus.
libusb++ provides a uniform way of accessing USB busses irrespective of the underlying Operation System representation. If you want to map the libusb++ representation to the Operating System representation, you can do this with directory name().
On Linux, the directoryname is usually something like 003, which represents the third bus on the host.
- See also:
- Directory::filename()
Friends And Related Function Documentation
friend class Busses [friend] |
The documentation for this class was generated from the following files: