crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Thread options containing the name of the module run, as well as the IDs of the website, URL list, and configuration used. More...
#include <ThreadOptions.hpp>
Properties | |
std::string | module |
The name of the module run by the thread. More... | |
std::uint64_t | website {} |
The ID of the website used by the thread. More... | |
std::uint64_t | urlList {} |
The ID of the URL list used by the thread. More... | |
std::uint64_t | config {} |
The ID of the configuration used by the thread. More... | |
Construction | |
ThreadOptions ()=default | |
Default constructor. More... | |
ThreadOptions (const std::string &setModule, std::uint64_t setWebsite, std::uint64_t setUrlList, std::uint64_t setConfig) | |
Constructor setting the options of the thread. More... | |
Thread options containing the name of the module run, as well as the IDs of the website, URL list, and configuration used.
|
default |
Default constructor.
|
inline |
Constructor setting the options of the thread.
setModule | Constant reference to a string containing the name of the module run by the thread. |
setWebsite | ID of the website used by the thread. |
setUrlList | ID of the URl list used by the thread. |
setConfig | ID of the configuration used by the thread. |
std::uint64_t crawlservpp::Struct::ThreadOptions::config {} |
The ID of the configuration used by the thread.
Referenced by crawlservpp::Main::Database::addThread(), crawlservpp::Module::Thread::getConfig(), and crawlservpp::Main::Server::tick().
std::string crawlservpp::Struct::ThreadOptions::module |
The name of the module run by the thread.
Referenced by crawlservpp::Main::Database::addThread().
std::uint64_t crawlservpp::Struct::ThreadOptions::urlList {} |
The ID of the URL list used by the thread.
Referenced by crawlservpp::Main::Database::addThread(), and crawlservpp::Module::Thread::getUrlList().
std::uint64_t crawlservpp::Struct::ThreadOptions::website {} |
The ID of the website used by the thread.
Referenced by crawlservpp::Main::Database::addThread(), and crawlservpp::Module::Thread::getWebsite().