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 IsSuperSpeedPlusSupported()
const;
160 bool IsCurrentSpeedSupported()
const;
180 uint32_t GetMaxPower()
const;
187 uint32_t GetMaxPacketSize()
const;
194 bool IsPleoraDriverInstalled()
const;
201 bool IsInitializedCapabilities()
const;
205#ifndef PV_GENERATING_DOXYGEN_DOC
211 void SetGenCPVersion( uint32_t aValue ) { mGenCPVersion = aValue; }
212 void SetU3VVersion( uint32_t aValue ) { mU3VVersion = aValue; }
214 void SetDeviceGUID(
const std::string &aValue ) { *mDeviceGUID = aValue; }
215 void SetFamilyName(
const std::string &aValue ) { *mFamilyName = aValue; }
216 void SetU3VSerialNumber(
const std::string &aValue ) { *mU3VSerialNumber = aValue; }
217 void SetDevicePath(
const std::string &aValue ) { *mDevicePath = aValue; }
218 void SetDeviceKey(
const std::string &aValue ) { *mDeviceKey = aValue; }
219 void SetSpeedMessage(
const std::string &aValue ) { *mSpeedMessage = aValue; }
220 void SetPowerMessage(
const std::string &aValue ) { *mPowerMessage = aValue; }
222 void SetLowSpeedSupported(
bool aValue ) { mLowSpeedSupported = aValue; }
223 void SetFullSpeedSupported(
bool aValue ) { mFullSpeedSupported = aValue; }
224 void SetHighSpeedSupported(
bool aValue ) { mHighSpeedSupported = aValue; }
225 void SetSuperSpeedSupported(
bool aValue ) { mSuperSpeedSupported = aValue; }
226 void SetSuperSpeedPlusSupported(
bool aValue ) { mSuperSpeedPlusSupported = aValue; }
227 void SetCurrentSpeedSupported(
bool aValue ) { mCurrentSpeedSupported = aValue; }
229 void SetSpeed(
PvUSBSpeed aValue ) { mSpeed = aValue; }
231 void SetMaxPower( uint32_t aValue ) { mMaxPower = aValue; }
232 void SetMaxPacketSize( uint32_t aValue ) { mMaxPacketSize = aValue; }
234 void SetPleoraDriverInstalled(
bool aValue ) { mPleoraDriverInstalled = aValue; }
235 void SetInitializedCapabilities(
bool aValue ) { mInitializedCapabilities = aValue; }
244 uint32_t mGenCPVersion;
245 uint32_t mU3VVersion;
247 std::string *mDeviceGUID;
248 std::string *mFamilyName;
249 std::string *mU3VSerialNumber;
250 std::string *mDevicePath;
251 std::string *mDeviceKey;
252 std::string *mSpeedMessage;
253 std::string *mPowerMessage;
255 bool mLowSpeedSupported;
256 bool mFullSpeedSupported;
257 bool mHighSpeedSupported;
258 bool mSuperSpeedSupported;
259 bool mSuperSpeedPlusSupported;
260 bool mCurrentSpeedSupported;
261 bool mInitializedCapabilities;
266 uint32_t mMaxPacketSize;
268 bool mPleoraDriverInstalled;
PvDeviceInfoUSB & operator=(const PvDeviceInfoUSB &)
Equal operator: copies the object.
Definition PvDeviceInfoUSB.cpp:60