派生自 development/c++

miyanhui
2019-02-13 bc66b495f7a38886d481bd75a578e435df53e1e8
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