Pleora Technologies Inc. eBUS SDK v5.1.10.4642 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  uint32_t GetVendorID() const;
23  uint32_t GetDeviceID() const;
24  uint32_t GetSubsystemID() const;
25 
26  uint32_t GetRevision() const;
27 
28  PvUSBSpeed GetSpeed() const;
29 
30 protected:
31 
32  PvUSBHostController( PvSystemLib::IFinderReporter *aFinderReporter );
33  PvUSBHostController&operator=( const PvUSBHostController &aFrom );
34 
35  void Init();
36 
37  void SetVendorID( uint32_t aValue ) { mVendorID = aValue; }
38  void SetDeviceID( uint32_t aValue ) { mDeviceID = aValue; }
39  void SetSubsystemID( uint32_t aValue ) { mSubsystemID = aValue; }
40  void SetRevision( uint32_t aValue ) { mRevision = aValue; }
41  void SetSpeed( PvUSBSpeed aValue ) { mSpeed = aValue; }
42 
43 private:
44 
45  // Not implemented
47 
48  uint32_t mVendorID;
49  uint32_t mDeviceID;
50  uint32_t mSubsystemID;
51  uint32_t mRevision;
52  PvUSBSpeed mSpeed;
53 
54 };
55 
56 #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:26
Represents one USB host controller on a system (the PC)
Definition: PvUSBHostController.h:15

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