123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef VOXEL_UVC_H
- #define VOXEL_UVC_H
- #include "Device.h"
- namespace Voxel
- {
-
- class VOXEL_EXPORT UVCRawData
- {
- public:
- Ptr<ByteType> data;
- std::size_t size;
- };
-
- class VOXEL_NO_EXPORT UVCPrivate;
-
- class VOXEL_EXPORT UVC
- {
- protected:
- DevicePtr _usb;
-
- Ptr<UVCPrivate> _uvcPrivate;
-
- public:
- UVC(DevicePtr usb);
-
- virtual bool isInitialized();
-
- inline UVCPrivate &getUVCPrivate() { return *_uvcPrivate; }
-
- bool read(uint8_t *buffer, std::size_t size);
- virtual ~UVC();
- };
- }
- #endif
|