12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*
- * TI Voxel Lib component.
- *
- * Copyright (c) 2014 Texas Instruments Inc.
- */
- #ifndef USB_BULK_STREAMER_H
- #define USB_BULK_STREAMER_H
- #include <Streamer.h>
- #include "USBIO.h"
- namespace Voxel
- {
- /**
- * \addtogroup IO
- * @{
- */
- class VOXEL_EXPORT USBBulkStreamer : public Streamer
- {
- protected:
- class USBBulkStreamerPrivate;
- Ptr<USBBulkStreamerPrivate> _usbBulkStreamerPrivate;
-
- virtual bool _start();
- virtual bool _capture(RawDataFramePtr &p);
- virtual bool _stop();
-
- public:
- USBBulkStreamer(USBIOPtr &usbIO, DevicePtr device, uint8_t endpoint);
-
- virtual ~USBBulkStreamer();
-
- virtual bool isInitialized();
-
- virtual bool setBufferSize(size_t bufferSize);
-
- // All these three are dummy
- virtual bool getSupportedVideoModes(Vector<VideoMode> &videoModes);
- virtual bool getCurrentVideoMode(VideoMode &videoMode);
- virtual bool setVideoMode(const VideoMode &videoMode);
- };
- /**
- * @}
- */
- }
- #endif // USB_BULK_STREAMER_H
|