Files
AI-on-the-edge-device/code/components/jomjol_flowcontroll/ClassFlowImage.h
2020-11-20 19:34:55 +01:00

23 lines
497 B
C++

#pragma once
#include "ClassFlow.h"
using namespace std;
class ClassFlowImage : public ClassFlow
{
protected:
string LogImageLocation;
bool isLogImage;
unsigned short logfileRetentionInDays;
const char* logTag;
string CreateLogFolder(string time);
void LogImage(string logPath, string name, float *resultFloat, int *resultInt, string time);
public:
ClassFlowImage(const char* logTag);
ClassFlowImage(std::vector<ClassFlow*> * lfc, const char* logTag);
void RemoveOldLogs();
};