7 #ifndef __PVDEVICEINFOU3V_H__ 8 #define __PVDEVICEINFOU3V_H__ 10 #include <PvDeviceInfoUSB.h> 48 uint32_t GetGenCPVersion()
const;
57 uint32_t GetU3VVersion()
const;
125 bool IsLowSpeedSupported()
const;
132 bool IsFullSpeedSupported()
const;
139 bool IsHighSpeedSupported()
const;
146 bool IsSuperSpeedSupported()
const;
153 bool IsCurrentSpeedSupported()
const;
173 uint32_t GetMaxPower()
const;
180 uint32_t GetMaxPacketSize()
const;
187 bool IsPleoraDriverInstalled()
const;
194 bool IsInitializedCapabilities()
const;
198 #ifndef PV_GENERATING_DOXYGEN_DOC 204 void SetGenCPVersion( uint32_t aValue ) { mGenCPVersion = aValue; }
205 void SetU3VVersion( uint32_t aValue ) { mU3VVersion = aValue; }
207 void SetDeviceGUID(
const std::string &aValue ) { *mDeviceGUID = aValue; }
208 void SetFamilyName(
const std::string &aValue ) { *mFamilyName = aValue; }
209 void SetU3VSerialNumber(
const std::string &aValue ) { *mU3VSerialNumber = aValue; }
210 void SetDevicePath(
const std::string &aValue ) { *mDevicePath = aValue; }
211 void SetDeviceKey(
const std::string &aValue ) { *mDeviceKey = aValue; }
212 void SetSpeedMessage(
const std::string &aValue ) { *mSpeedMessage = aValue; }
213 void SetPowerMessage(
const std::string &aValue ) { *mPowerMessage = aValue; }
215 void SetLowSpeedSupported(
bool aValue ) { mLowSpeedSupported = aValue; }
216 void SetFullSpeedSupported(
bool aValue ) { mFullSpeedSupported = aValue; }
217 void SetHighSpeedSupported(
bool aValue ) { mHighSpeedSupported = aValue; }
218 void SetSuperSpeedSupported(
bool aValue ) { mSuperSpeedSupported = aValue; }
219 void SetCurrentSpeedSupported(
bool aValue ) { mCurrentSpeedSupported = aValue; }
221 void SetSpeed(
PvUSBSpeed aValue ) { mSpeed = aValue; }
223 void SetMaxPower( uint32_t aValue ) { mMaxPower = aValue; }
224 void SetMaxPacketSize( uint32_t aValue ) { mMaxPacketSize = aValue; }
226 void SetPleoraDriverInstalled(
bool aValue ) { mPleoraDriverInstalled = aValue; }
227 void SetInitializedCapabilities(
bool aValue ) { mInitializedCapabilities = aValue; }
229 #endif // PV_GENERATING_DOXYGEN_DOC 236 uint32_t mGenCPVersion;
237 uint32_t mU3VVersion;
239 std::string *mDeviceGUID;
240 std::string *mFamilyName;
241 std::string *mU3VSerialNumber;
242 std::string *mDevicePath;
243 std::string *mDeviceKey;
244 std::string *mSpeedMessage;
245 std::string *mPowerMessage;
247 bool mLowSpeedSupported;
248 bool mFullSpeedSupported;
249 bool mHighSpeedSupported;
250 bool mSuperSpeedSupported;
251 bool mCurrentSpeedSupported;
252 bool mInitializedCapabilities;
257 uint32_t mMaxPacketSize;
259 bool mPleoraDriverInstalled;
PvDeviceInfoUSB & operator=(const PvDeviceInfoUSB &)
Equal operator: copies the object.
Definition: PvDeviceInfoUSB.cpp:60
String class.
Definition: PvString.h:25
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
Information about a USB3 Vision device.
Definition: PvDeviceInfoU3V.h:18
Information about a generic USB device.
Definition: PvDeviceInfoUSB.h:18