/* * @Author: your name * @Date: 2022-04-20 15:49:50 * @LastEditTime: 2025-09-16 21:19:45 * @LastEditors: xiewenji 527774126@qq.com * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: /ZCXD_MonitorPlatform/src/CoreLogicModule/include/CamDeal.h */ #ifndef Product_H_ #define Product_H_ #include #include #include #include #include #include #include #include #include #include #include "Define_Product.hpp" #include "CameraResult.h" #include "CheckErrorCodeDefine.hpp" #include "ImageDetConfig.h" using namespace std; using namespace cv; class Product { private: /* data */ public: Product(/* args */); ~Product(); std::shared_ptr GetCameraResult(std::string strcameraName); void AddLog(std::string str); // 更新 送图状态 void UpdatePushStatus(int status); // 是否全部检测完成 bool bCheckCamplate(); public: // 相机结果 std::vector> m_pCameraResultList; std::shared_ptr productBaseResult; // 图片是否都送完了。 bool bIsImgComplete = false; // 日志 std::vector LogList; std::mutex mtx_CameraResultList; private: std::mutex mtx_; // 多线程安全 PRINT_LOG_ m_PrintLog; }; #endif