LIPH's C++ Codes
liph::threadpool Class Reference

#include <threadpool.h>

Public Member Functions

 threadpool (size_t size=0)
 
 ~threadpool ()
 
 threadpool (const threadpool &)=delete
 
 threadpool (threadpool &&)=delete
 
threadpooloperator= (const threadpool &)=delete
 
threadpooloperator= (threadpool &&)=delete
 
void start ()
 
void stop ()
 
template<class Function , class... Args>
void add (Function &&func, Args &&...args)
 
unsigned int size () const
 

Constructor & Destructor Documentation

◆ threadpool() [1/3]

liph::threadpool::threadpool ( size_t  size = 0)

◆ ~threadpool()

liph::threadpool::~threadpool ( )

◆ threadpool() [2/3]

liph::threadpool::threadpool ( const threadpool )
delete

◆ threadpool() [3/3]

liph::threadpool::threadpool ( threadpool &&  )
delete

Member Function Documentation

◆ add()

template<class Function , class... Args>
void liph::threadpool::add ( Function &&  func,
Args &&...  args 
)
inline

◆ operator=() [1/2]

threadpool & liph::threadpool::operator= ( const threadpool )
delete

◆ operator=() [2/2]

threadpool & liph::threadpool::operator= ( threadpool &&  )
delete

◆ size()

unsigned int liph::threadpool::size ( ) const
inline

◆ start()

void liph::threadpool::start ( )

◆ stop()

void liph::threadpool::stop ( )

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