Pleora Technologies Inc. eBUS SDK v6.5.1.6797 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 
22 class PV_SYSTEM_API PvUSBHostController : public PvInterface
23 {
24 public:
25 
30 
34  virtual ~PvUSBHostController();
35 
43  PvUSBHostController&operator=( const PvUSBHostController &aFrom );
44 
50  uint32_t GetVendorID() const;
51 
57  uint32_t GetDeviceID() const;
58 
64  uint32_t GetSubsystemID() const;
65 
71  uint32_t GetRevision() const;
72 
82  PvUSBSpeed GetSpeed() const;
83 
84 protected:
85 
91  PvUSBHostController( PvSystemLib::IFinderReporter *aFinderReporter );
92 
96  void Init();
97 
98  void SetVendorID( uint32_t aValue ) { mVendorID = aValue; }
99  void SetDeviceID( uint32_t aValue ) { mDeviceID = aValue; }
100  void SetSubsystemID( uint32_t aValue ) { mSubsystemID = aValue; }
101  void SetRevision( uint32_t aValue ) { mRevision = aValue; }
102  void SetSpeed( PvUSBSpeed aValue ) { mSpeed = aValue; }
103 
104 private:
105 
106  // Not implemented
108 
109  uint32_t mVendorID;
110  uint32_t mDeviceID;
111  uint32_t mSubsystemID;
112  uint32_t mRevision;
113  PvUSBSpeed mSpeed;
114 
115 };
116 
117 #endif
PvUSBSpeed
The speed grade of the USB device or interface.
Definition: PvSystemEnums.h:62
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:32
Represents one USB host controller on a system (the PC)
Definition: PvUSBHostController.h:22

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