Add RecorderMutex
This commit is contained in:
+5
-1
@@ -1,6 +1,7 @@
|
||||
#ifndef RECORDER_RECORDER_H
|
||||
#define RECORDER_RECORDER_H
|
||||
|
||||
#include "Util/RecorderMutex.h"
|
||||
#include <ctpl_stl.h>
|
||||
#include <string>
|
||||
|
||||
@@ -11,12 +12,15 @@ namespace Recorder {
|
||||
class Recorder
|
||||
{
|
||||
public:
|
||||
Recorder();
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user