join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::WorkerThread Class Reference

worker thread class. More...

#include <threadpool.hpp>

Public Member Functions

 WorkerThread (const WorkerThread &other)=delete
 copy constructor.
 
WorkerThreadoperator= (const WorkerThread &other)=delete
 copy assignment.
 
 WorkerThread (WorkerThread &&other)=delete
 move constructor.
 
WorkerThreadoperator= (WorkerThread &&other)=delete
 move assignment.
 
 ~WorkerThread () noexcept
 destroy worker thread.
 

Friends

class ThreadPool
 friendship with ThreadPool.
 

Detailed Description

worker thread class.

Constructor & Destructor Documentation

◆ WorkerThread() [1/2]

join::WorkerThread::WorkerThread ( const WorkerThread & other)
delete

copy constructor.

Parameters
otherother object to copy.

◆ WorkerThread() [2/2]

join::WorkerThread::WorkerThread ( WorkerThread && other)
delete

move constructor.

Parameters
otherother object to move.

◆ ~WorkerThread()

WorkerThread::~WorkerThread ( )
noexcept

destroy worker thread.

Member Function Documentation

◆ operator=() [1/2]

WorkerThread & join::WorkerThread::operator= ( const WorkerThread & other)
delete

copy assignment.

Parameters
otherother object to copy.
Returns
a reference to the current object.

◆ operator=() [2/2]

WorkerThread & join::WorkerThread::operator= ( WorkerThread && other)
delete

move assignment.

Parameters
otherother object to move.
Returns
a reference to the current object.

Friends And Related Symbol Documentation

◆ ThreadPool

friend class ThreadPool
friend

friendship with ThreadPool.


The documentation for this class was generated from the following files: