Recorder.h 472 B

123456789101112131415161718192021222324
  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) = 0;
  13. virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
  14. };
  15. } // namespace Recorder
  16. } // namespace CameraRecorder
  17. #endif // RECORDER_RECORDER_H