Recorder.h 594 B

12345678910111213141516171819202122232425
  1. #ifndef RECORDER_RECORDER_H
  2. #define RECORDER_RECORDER_H
  3. #include <ctpl_stl.h>
  4. #include <string>
  5. namespace CameraRecorder {
  6. namespace Recorder {
  7. class Recorder
  8. {
  9. public:
  10. Recorder();
  11. ~Recorder();
  12. virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
  13. virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) = 0;
  14. virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
  15. };
  16. } // namespace Recorder
  17. } // namespace CameraRecorder
  18. #endif // RECORDER_RECORDER_H