26 lines
540 B
C++
26 lines
540 B
C++
#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
|