1#ifndef ALGORITHMTHREAD_H
2#define ALGORITHMTHREAD_H
5#include <opencv2/core.hpp>
8#include "plugin/algorithmmanager.h"
9#include "progressable.h"
10#include "logmanager.h"
25template<
typename outType>
49 virtual void run() = 0;
54 std::vector<uint> m_images = {};
55 volatile bool *m_stopped;
The AlgorithmThread class is used to start the execution of a major plugin task on a new thread....
Definition algorithmthread.h:27
virtual void run()=0
QThread method stub which is implemented in its child classes.
outType getOutput()
getOutput getter for the computed output (for example keyframes or generated settings )
Definition algorithmthread.cpp:15
int getResult()
getResult Getter for the status of the plugin calulation
Definition algorithmthread.cpp:23
The LogFile class logs progress as well as information about a process (e.g. Inport,...
Definition logfile.h:23
The Progressable interface is used to by multithreaded actions such as sampling or exporting to repor...
Definition progressable.h:18