Conscience Core
Public Member Functions | List of all members
conscience_utils::detection_logger::VisionDetectionLogger Class Reference

#include <VisionDetectionLogger.h>

Public Member Functions

string getOutputFilePath ()
 returns the Current log File path More...
 
 VisionDetectionLogger (string outputDirPath="/tmp/VisionDetectionLogs", string fileName="detection_Logger")
 Construct a new Vision Detection Logger object. More...
 
void recordEntry (unique_ptr< const VisionDetectionLoggerEntry >)
 writes the datas of the Entry parameter inside the file specified in the constructor More...
 
string closeCurrentFile ()
 Open a new file only if parameter is True. False – returns the created history file. More...
 

Constructor & Destructor Documentation

◆ VisionDetectionLogger()

VisionDetectionLogger::VisionDetectionLogger ( string  outputDirPath = "/tmp/VisionDetectionLogs",
string  fileName = "detection_Logger" 
)

Construct a new Vision Detection Logger object.

Parameters
outputDirPathDefault path is tmp/VisionDetectionLogs.
fileNameDefault filename is detection_Logger. Do not specify extension.

Member Function Documentation

◆ closeCurrentFile()

string VisionDetectionLogger::closeCurrentFile ( )

Open a new file only if parameter is True. False – returns the created history file.

returns historized filePath

◆ getOutputFilePath()

string VisionDetectionLogger::getOutputFilePath ( )

returns the Current log File path

◆ recordEntry()

void VisionDetectionLogger::recordEntry ( unique_ptr< const VisionDetectionLoggerEntry entry)

writes the datas of the Entry parameter inside the file specified in the constructor


The documentation for this class was generated from the following files: