8#include <QElapsedTimer>
10#include <QJsonDocument>
15#include "stringcontainer.h"
18#define DATE_FORMAT "dd.MM.yyyy hh:mm:ss.z"
52 virtual void setSettings(QMap<QString, QVariant> settings) = 0;
69 virtual void addCustomEntry(QString entryName, QVariant entryValue, QString type = EMPTY_TYPE) = 0;
89 virtual bool print(QString path) = 0;
The LogFileParent class logs progress as well as information about a process (e.g....
Definition LogFileParent.h:30
virtual bool getIsPlugin()=0
getIsPlugin Returns true if the logged process is a plugin
virtual void stopTimer()=0
stopTimer Stops the currently running timer and logs the surpassed timespan
virtual void startTimer(QString timerName)=0
startTimer Starts a timer to measure a specific internal process
virtual QJsonObject toQJSON()=0
toQJSON Returns the current state of the log file in form of a QJsonObject
virtual void addCustomEntry(QString entryName, QVariant entryValue, QString type=EMPTY_TYPE)=0
addCustomEntry allows to log with custom entries and types
virtual bool print(QString path)=0
print Saves the current sate of the log file as a file at the given path
virtual QString getName()=0
getName Returns the name
virtual QString getCreationTime()=0
getCreationTime Returns the time and date when the file was initalized
virtual void setInputInfo(std::vector< uint > inputFrames)=0
setInputInfo allows to log the used input
virtual void setResultsInfo(std::vector< uint > keyframes)=0
setResultsInfo allows to log the returned result of the process
virtual void setSettings(QMap< QString, QVariant > settings)=0
setSettings Allows to log the used settings