30 lines
725 B
C++
30 lines
725 B
C++
#ifndef RECORDER_RECORDER_H
|
|
#define RECORDER_RECORDER_H
|
|
|
|
#include "Util/RecorderMutex.h"
|
|
#include <ctpl_stl.h>
|
|
#include <string>
|
|
|
|
|
|
namespace CameraRecorder {
|
|
namespace Recorder {
|
|
|
|
class Recorder
|
|
{
|
|
public:
|
|
Recorder(Util::RecorderMutexPointer pRecorderMutex);
|
|
~Recorder();
|
|
|
|
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
|
|
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) = 0;
|
|
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
|
|
|
|
protected:
|
|
Util::RecorderMutexPointer m_pRecorderMutex;
|
|
};
|
|
|
|
} // namespace Recorder
|
|
} // namespace CameraRecorder
|
|
|
|
#endif // RECORDER_RECORDER_H
|