35 #ifndef MODULE_ANALYZER_ALGO_ALL_HPP_ 36 #define MODULE_ANALYZER_ALGO_ALL_HPP_ 38 #include "../Thread.hpp" 40 #include "../../../Struct/AlgoThreadProperties.hpp" 63 #define REGISTER_ALGORITHM(ID, CLASS) \ 64 if(thread.algoId == (ID)) { \ 65 if(thread.status.id > 0) {\ 66 return std::make_unique<CLASS>(\ 72 return std::make_unique<CLASS>(thread.dbBase, thread.options); \ std::unique_ptr< Module::Analyzer::Thread > AlgoThreadPtr
Definition: All.hpp:50
Namespace for algorithm classes.
Definition: All.cpp:52
AlgoThreadPtr initAlgo(const AlgoThreadProperties &thread)
Creates an algorithm thread.
Definition: All.cpp:75
Struct::AlgoThreadProperties AlgoThreadProperties
Definition: All.hpp:48
Properties of an algorithm thread.
Definition: AlgoThreadProperties.hpp:46