38 #ifndef MODULE_ANALYZER_ALGO_EMPTY_HPP_ 39 #define MODULE_ANALYZER_ALGO_EMPTY_HPP_ 41 #include "../Thread.hpp" 47 #include "../../../Main/Database.hpp" 49 #include "../../../Struct/StatusSetter.hpp" 50 #include "../../../Struct/ThreadOptions.hpp" 51 #include "../../../Struct/ThreadStatus.hpp" 58 #include <string_view> 131 std::string_view
getName()
const override;
void resetAlgo() override
Resets the configuration options for the algorithm.
Definition: Empty.cpp:309
Namespace for algorithm classes.
Definition: All.cpp:52
void checkAlgoOptions() override
Checks the configuration options for the algorithm.
Definition: Empty.cpp:297
Abstract class providing thread functionality to algorithm (child) classes.
Definition: Thread.hpp:84
void parseAlgoOption() override
Parses a configuration option for the algorithm.
Definition: Empty.cpp:278
Thread status containing its ID, status message, pause state, and progress.
Definition: ThreadStatus.hpp:54
void onAlgoPause() override
Does nothing.
Definition: Empty.cpp:254
void onAlgoUnpause() override
Does nothing.
Definition: Empty.cpp:264
Thread options containing the name of the module run, as well as the IDs of the website, URL list, and configuration used.
Definition: ThreadOptions.hpp:40
void onAlgoTick() override
Does nothing.
Definition: Empty.cpp:204
Class handling database access for the command-and-control and its threads.
Definition: Database.hpp:366
std::string_view getName() const override
Returns the name of the algorithm.
Definition: Empty.cpp:91
void onAlgoInit() override
Initializes the algorithm and processes its input.
Definition: Empty.cpp:144
Class for analyzer exceptions to be used by algorithms.
Definition: Thread.hpp:242
Empty(Main::Database &dbBase, const ThreadOptions &threadOptions, const ThreadStatus &threadStatus)
Continues a previously interrupted algorithm run.
Definition: Empty.cpp:54
Structure containing all the data needed to keep the status of a thread updated.
Definition: StatusSetter.hpp:57
void onAlgoClear() override
Does nothing.
Definition: Empty.cpp:271
Empty algorithm template.
Definition: Empty.hpp:94
void onAlgoInitTarget() override
Initializes the target table for the algorithm.
Definition: Empty.cpp:108