派生自 development/c++

pansen
2019-03-06 c73d6fde347cfb6e0386ab1c651e8f38f939e89e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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