| | |
| | | struct ImgInfo |
| | | { |
| | | std::string time; |
| | | uint64_t framePts; |
| | | cv::Mat img; |
| | | }; |
| | | |
| | |
| | | // std::map<std::string,int> findAllCamera(); |
| | | bool clearAllImageBuf(); |
| | | |
| | | bool setKeyImage(const std::string& file_name,const cv::Mat& img); |
| | | void getKeyImage(const std::string& imageName,cv::Mat& img); |
| | | |
| | | |
| | | bool pushImageBuf(const std::string& file_name,const cv::Mat& img); |
| | | void getImage(const std::string& file_name,cv::Mat& img); |
| | | |
| | |
| | | |
| | | bool delKey(const std::string& key); |
| | | bool listRpop(const std::string& key,std::string& value); |
| | | bool listLpush(const std::string& key,const std::string& value); |
| | | int getSize(const std::string& key); |
| | | bool hashDel(const std::string& tab,const std::string &key); |
| | | bool hashSet(const std::string& tab,const std::string& key,const int& value); |
| | |
| | | |
| | | bool listLindex(const std::string& key,std::string& value); |
| | | // bool listRpop(const std::string& key,std::string& value); |
| | | bool listLpush(const std::string& key,const std::string& value); |
| | | |
| | | |
| | | //bool listLpush(const std::string& key,const std::string& value); |
| | | //Redis SET KEY VALUE cmd |
| | | bool setKeyValue(const std::string& key,const std::string& value); |
| | | //bool GET KEY cmd |
| | | bool getKeyValue(const std::string& key,std::string& value); |
| | | bool checkParam(); |
| | | bool checkResult(redisReply *reply); |
| | | void init(); |