ClassFlowImage.h 673 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #ifndef CLASSFLOWIMAGE_H
  3. #define CLASSFLOWIMAGE_H
  4. #include "ClassFlow.h"
  5. using namespace std;
  6. class ClassFlowImage : public ClassFlow
  7. {
  8. protected:
  9. string imagesLocation;
  10. bool isLogImage;
  11. unsigned short imagesRetention;
  12. const char* logTag;
  13. string CreateLogFolder(string time);
  14. void LogImage(string logPath, string name, float *resultFloat, int *resultInt, string time, CImageBasis *_img);
  15. public:
  16. ClassFlowImage(const char* logTag);
  17. ClassFlowImage(std::vector<ClassFlow*> * lfc, const char* logTag);
  18. ClassFlowImage(std::vector<ClassFlow*> * lfc, ClassFlow *_prev, const char* logTag);
  19. void RemoveOldLogs();
  20. };
  21. #endif //CLASSFLOWIMAGE_H