libusb++ API Documentation

USB::Bus Class Reference

Class representing a single bus on the machine. More...

#include <usbpp.h>

List of all members.

Public Member Functions

 Bus ()
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()

Definition at line 159 of file usbpp.cpp.


Friends And Related Function Documentation

friend class Busses [friend]

Busses is a friend because it fills in the directory name information on initialisation and rescan.

Definition at line 702 of file usbpp.h.


The documentation for this class was generated from the following files:
This file is part of the documentation for libusb++ .
Documentation copyright © 2004 Brad Hards.
Generated on Mon Apr 16 02:52:13 2007 by doxygen 1.5.1 written by Dimitri van Heesch.