#ifndef VIDEORECORDERMANAGER_H
|
#define VIDEORECORDERMANAGER_H
|
|
#include "TimerElement.h"
|
#include "VideoRecorder.h"
|
#include <QtCore/QDateTime>
|
|
class VideoRecorderManager : public TimerElement
|
{
|
public:
|
VideoRecorderManager(int interval,std::string rtsp,std::string path,std::string fileName);
|
|
virtual double getLastUs() override;
|
private:
|
virtual void timerFunc() override;
|
virtual void threadInitial() override;
|
private:
|
VideoRecorder m_videoRcd;
|
std::string m_strPath;
|
std::string m_strFileName;
|
QDateTime m_dtRecordTime;
|
|
};
|
|
#endif // VIDEORECORDERMANAGER_H
|