Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvUSBHostController.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2013, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVUSBHOSTCONTROLLER_H__
8 #define __PVUSBHOSTCONTROLLER_H__
9 
10 #include <PvInterface.h>
11 #include <PvDeviceInfoUSB.h>
12 #include <PvDeviceInfoU3V.h>
13 
14 
15 class PV_SYSTEM_API PvUSBHostController : public PvInterface
16 {
17 public:
18 
20  virtual ~PvUSBHostController();
21 
22  PvUSBHostController&operator=( const PvUSBHostController &aFrom );
23 
24  uint32_t GetVendorID() const;
25  uint32_t GetDeviceID() const;
26  uint32_t GetSubsystemID() const;
27 
28  uint32_t GetRevision() const;
29 
30  PvUSBSpeed GetSpeed() const;
31 
32 protected:
33 
34  PvUSBHostController( PvSystemLib::IFinderReporter *aFinderReporter );
35 
36  void Init();
37 
38  void SetVendorID( uint32_t aValue ) { mVendorID = aValue; }
39  void SetDeviceID( uint32_t aValue ) { mDeviceID = aValue; }
40  void SetSubsystemID( uint32_t aValue ) { mSubsystemID = aValue; }
41  void SetRevision( uint32_t aValue ) { mRevision = aValue; }
42  void SetSpeed( PvUSBSpeed aValue ) { mSpeed = aValue; }
43 
44 private:
45 
46  // Not implemented
48 
49  uint32_t mVendorID;
50  uint32_t mDeviceID;
51  uint32_t mSubsystemID;
52  uint32_t mRevision;
53  PvUSBSpeed mSpeed;
54 
55 };
56 
57 #endif
PvUSBSpeed
The speed grade of the USB device or interface.
Definition: PvSystemEnums.h:58
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:25
Represents one USB host controller on a system (the PC)
Definition: PvUSBHostController.h:15

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