派生自 development/c++

xuxiuxi
2019-03-04 17675f1c6447b6e014b520608ce6d5f1f2e9707a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef IMAGEGRABBERI_H
#define IMAGEGRABBERI_H
 
#include "RecordVideo.h"
#include <iostream>
#include <basic/util/fastdfs/FastdfsClient.h>
 
class ImageGrabberI :public ::RecordVideo::ImageGrabber
{
public:
    ImageGrabberI();
 
    virtual ::RecordVideo::ByteSequence grabImage(const ::Ice::Int index,const ::std::string&time, const ::Ice::Current& = ::Ice::emptyCurrent);
    virtual ::std::string grabImageUrl(const ::Ice::Int index,const ::std::string&time, const ::Ice::Current& = ::Ice::emptyCurrent);
 
private:
    std::vector<std::string> vec;
    FastdfsClient fdfsClient;
};
 
#endif // IMAGEGRABBERI_H