Add MultiSnapshot

This commit is contained in:
2020-05-11 21:55:34 +02:00
parent ea15817e53
commit 6afdf1a387
21 changed files with 904 additions and 714 deletions
+25 -24
View File
@@ -1,24 +1,25 @@
#ifndef RECORDER_RECORDER_H
#define RECORDER_RECORDER_H
#include <ctpl_stl.h>
#include <string>
namespace CameraRecorder {
namespace Recorder {
class Recorder
{
public:
Recorder();
~Recorder();
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) = 0;
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
};
} // namespace Recorder
} // namespace CameraRecorder
#endif // RECORDER_RECORDER_H
#ifndef RECORDER_RECORDER_H
#define RECORDER_RECORDER_H
#include <ctpl_stl.h>
#include <string>
namespace CameraRecorder {
namespace Recorder {
class Recorder
{
public:
Recorder();
~Recorder();
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) = 0;
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) = 0;
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
};
} // namespace Recorder
} // namespace CameraRecorder
#endif // RECORDER_RECORDER_H