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

Information about a thread as stored in the database, containing both the options for and the status of the thread. More...

#include <ThreadDatabaseEntry.hpp>

Collaboration diagram for crawlservpp::Struct::ThreadDatabaseEntry:

Properties

ThreadOptions options
 Options for the thread. More...
 
ThreadStatus status
 Status of the thread. More...
 

Construction

 ThreadDatabaseEntry ()=default
 Default constructor. More...
 
 ThreadDatabaseEntry (const ThreadOptions &setOptions, const ThreadStatus &setStatus)
 Constructor setting the options for and the status of the thread. More...
 

Detailed Description

Information about a thread as stored in the database, containing both the options for and the status of the thread.

Constructor & Destructor Documentation

◆ ThreadDatabaseEntry() [1/2]

crawlservpp::Struct::ThreadDatabaseEntry::ThreadDatabaseEntry ( )
default

Default constructor.

◆ ThreadDatabaseEntry() [2/2]

crawlservpp::Struct::ThreadDatabaseEntry::ThreadDatabaseEntry ( const ThreadOptions setOptions,
const ThreadStatus setStatus 
)
inline

Constructor setting the options for and the status of the thread.

Parameters
setOptionsConstant reference to the options for the thread.
setStatusConstant reference to the status of the thread.

Member Data Documentation

◆ options

ThreadOptions crawlservpp::Struct::ThreadDatabaseEntry::options

Options for the thread.

Referenced by crawlservpp::Main::Server::tick().

◆ status

ThreadStatus crawlservpp::Struct::ThreadDatabaseEntry::status

Status of the thread.

Referenced by crawlservpp::Main::Server::tick().


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