Go to the documentation of this file. 1 #ifndef visionDetectionLogger_hpp
2 #define visionDetectionLogger_hpp
10 using std::unique_ptr, std::ofstream;
13 namespace detection_logger {
20 string outputFilePath;
28 bool appendLogLineInFile(
string);
30 void writeFooterAndCloseFile();
32 string generateHistoryFilePath();
43 VisionDetectionLogger(
string outputDirPath =
"/tmp/VisionDetectionLogs",
string fileName =
"detection_Logger");
46 void recordEntry(unique_ptr<const VisionDetectionLoggerEntry>);
VisionDetectionLogger(string outputDirPath="/tmp/VisionDetectionLogs", string fileName="detection_Logger")
Construct a new Vision Detection Logger object.
Definition: VisionDetectionLogger.cpp:9
Definition: VisionDetectionLogger.h:15
string getOutputFilePath()
returns the Current log File path
Definition: VisionDetectionLogger.cpp:28
string closeCurrentFile()
Open a new file only if parameter is True. False – returns the created history file.
Definition: VisionDetectionLogger.cpp:116
void recordEntry(unique_ptr< const VisionDetectionLoggerEntry >)
writes the datas of the Entry parameter inside the file specified in the constructor
Definition: VisionDetectionLogger.cpp:53
Definition: CscEntityReflexion.h:50