working on refactoring the entire project and getting rid of static classes

master
Yorick GEOFFRE 3 years ago
parent fc470425d3
commit 89d234c99d

@ -1,6 +1,6 @@
{
"files.exclude": {
"**/CMakeFiles/**"
"**/.vscode/": true,
"**/media/": true
}
}

@ -0,0 +1,15 @@
#include<mutex>
#include <opencv2/core.hpp>
class PipelineMember{
public:
virtual void run();
virtual bool isRunning();
virtual void stop();
virtual cv::UMat getOutput();
protected:
std::mutex outputLock;
cv::UMat output;
bool shouldRun;
PipelineMember* previous;
};
Loading…
Cancel
Save