UVCXU.h 628 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * TI Voxel Lib component.
  3. *
  4. * Copyright (c) 2014 Texas Instruments Inc.
  5. */
  6. #ifndef VOXEL_UVCXU_H
  7. #define VOXEL_UVCXU_H
  8. #include "UVC.h"
  9. namespace Voxel
  10. {
  11. /**
  12. * \addtogroup IO
  13. * @{
  14. */
  15. class VOXEL_EXPORT UVCXU : public UVC
  16. {
  17. protected:
  18. int _xuID;
  19. class VOXEL_NO_EXPORT UVCXUPrivate;
  20. Ptr<UVCXUPrivate> _uvcXUPrivate;
  21. public:
  22. UVCXU(DevicePtr usb, int xuID);
  23. bool isInitialized();
  24. virtual ~UVCXU();
  25. bool setControl(int controlnumber, int size, uint8_t *value);
  26. bool getControl(int controlnumber, int size, uint8_t *value);
  27. };
  28. typedef Ptr<UVCXU> UVCXUPtr;
  29. /**
  30. * @}
  31. */
  32. }
  33. #endif // UVCXU_H