crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Struct::ThreadOptions Struct Reference

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...
 

Detailed Description

Thread options containing the name of the module run, as well as the IDs of the website, URL list, and configuration used.

Constructor & Destructor Documentation

◆ ThreadOptions() [1/2]

crawlservpp::Struct::ThreadOptions::ThreadOptions ( )
default

Default constructor.

◆ ThreadOptions() [2/2]

crawlservpp::Struct::ThreadOptions::ThreadOptions ( const std::string &  setModule,
std::uint64_t  setWebsite,
std::uint64_t  setUrlList,
std::uint64_t  setConfig 
)
inline

Constructor setting the options of the thread.

Parameters
setModuleConstant reference to a string containing the name of the module run by the thread.
setWebsiteID of the website used by the thread.
setUrlListID of the URl list used by the thread.
setConfigID of the configuration used by the thread.

Member Data Documentation

◆ config

std::uint64_t crawlservpp::Struct::ThreadOptions::config {}

◆ module

std::string crawlservpp::Struct::ThreadOptions::module

The name of the module run by the thread.

Referenced by crawlservpp::Main::Database::addThread().

◆ urlList

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().

◆ website

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().


The documentation for this struct was generated from the following file: