派生自 development/c++

pansen
2019-03-07 d3b7bbe7102cd089680a828f5d8f6402c8cf6342
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
26
27
28
29
30
31
32
33
#ifndef RECORDVIDEOELEMENT_H
#define RECORDVIDEOELEMENT_H
 
#include "TimerElement.h"
#include <basic/rpc/IceRpc.hpp>
#include "RecordVideo.h"
 
class RecordVideoElement {
 
public:
    RecordVideoElement(int index, std::string rtsp);
 
    RecordVideoElement(std::string index, std::string rtsp);
 
    ~RecordVideoElement();
 
    std::string startRecord();
 
    std::string startRecord(std::string json);
 
    void endRecord();
 
    void feedDog();
 
private:
    std::string m_nIndex;
    std::string m_strRtsp;
    IceRpcClient<RecordVideo::LoopRecorderPrx> loopRecordClient;
 
    std::string callStartRecord(std::string jsonValue);
};
 
#endif // RECORDVIDEOELEMENT_H