Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvUSBHostController Class Reference

Represents one USB host controller on a system (the PC) More...

Public Member Functions

 PvUSBHostController ()
 Constructor.
 
virtual ~PvUSBHostController ()
 Destructor.
 
PvUSBHostControlleroperator= (const PvUSBHostController &aFrom)
 Equal operator: copies the object. More...
 
uint32_t GetVendorID () const
 Vendor ID of the USB host controller. More...
 
uint32_t GetDeviceID () const
 Device ID of the USB host controller. More...
 
uint32_t GetSubsystemID () const
 Subsystem ID of the USB host controller. More...
 
uint32_t GetRevision () const
 Revision of the USB host controller. More...
 
PvUSBSpeed GetSpeed () const
 Speed of the USB host controller. More...
 
- Public Member Functions inherited from PvInterface
virtual ~PvInterface ()
 Destructor.
 
PvInterfaceType GetType () const
 Get the interface type. More...
 
PvString GetName () const
 Get the description of the NIC, as reported by the OS. More...
 
PvString GetDisplayID () const
 Get a string that can be used in a user interface to identify the interface. More...
 
PvString GetUniqueID () const
 Get a string uniquely identifying the interface. More...
 
PvString GetCompareID () const
 Get a string that can be used to sort interfaces. More...
 
uint32_t GetDeviceCount () const
 Get the number of found devices on this PvInterface. More...
 
const PvDeviceInfoGetDeviceInfo (uint32_t aIndex) const
 Get information identifying a device. More...
 

Protected Member Functions

 PvUSBHostController (PvSystemLib::IFinderReporter *aFinderReporter)
 Constructor. More...
 
void Init ()
 Internal/private method for object initialization.
 

Additional Inherited Members

- Static Public Member Functions inherited from PvInterface
static bool Compare (const PvInterface *a1, const PvInterface *a2)
 Static method used for sorting interfaces. More...
 

Detailed Description

Represents one USB host controller on a system (the PC)

To use this class, see PvSystem.

Constructor & Destructor Documentation

◆ PvUSBHostController()

PvUSBHostController::PvUSBHostController ( PvSystemLib::IFinderReporter *  aFinderReporter)
protected

Constructor.

Parameters
[in]aFinderReporterA finder reporter.

Member Function Documentation

◆ GetDeviceID()

uint32_t PvUSBHostController::GetDeviceID ( ) const

Device ID of the USB host controller.

Returns
Device ID.

◆ GetRevision()

uint32_t PvUSBHostController::GetRevision ( ) const

Revision of the USB host controller.

Returns
Revision of the USB host controller.

◆ GetSpeed()

PvUSBSpeed PvUSBHostController::GetSpeed ( ) const

Speed of the USB host controller.

Even if a USB host controller supports super speed it does not guarantee a device will be connected as super speed. Bad cables or hubs not supporting super speed could force the controller and device to end up being connected at a slower speed.

Returns
Speed of the USB host controller.

◆ GetSubsystemID()

uint32_t PvUSBHostController::GetSubsystemID ( ) const

Subsystem ID of the USB host controller.

Returns
Subsystem ID.

◆ GetVendorID()

uint32_t PvUSBHostController::GetVendorID ( ) const

Vendor ID of the USB host controller.

Returns
Vendor ID.

◆ operator=()

PvUSBHostController & PvUSBHostController::operator= ( const PvUSBHostController aFrom)

Equal operator: copies the object.

Parameters
[in]aFromThe source for the copy.
Returns
Reference to the object aFrom was copied to.

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

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com