vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
vgl::thread_pool Class Reference

#include <vgl/defaults.hpp>

Public Member Functions

 thread_pool () noexcept=default
 
 thread_pool (vgl_thread_pool *handle) noexcept
 
 thread_pool (const thread_pool &)=delete
 
thread_pool & operator= (const thread_pool &)=delete
 
 thread_pool (thread_pool &&other) noexcept
 
thread_pool & operator= (thread_pool &&other) noexcept
 
 ~thread_pool ()
 
vgl_thread_pool * get () const noexcept
 
 operator bool () const noexcept
 
vgl_thread_pool * release () noexcept
 
void reset (vgl_thread_pool *handle=nullptr) noexcept
 
vgl_task_interface task_interface_get () const noexcept
 

Static Public Member Functions

static expected< thread_pool > create (const vgl_thread_pool_create_info *info=nullptr) noexcept
 

Constructor & Destructor Documentation

◆ thread_pool() [1/4]

vgl::thread_pool::thread_pool ( )
defaultnoexcept

◆ thread_pool() [2/4]

vgl::thread_pool::thread_pool ( vgl_thread_pool *  handle)
inlineexplicitnoexcept

◆ thread_pool() [3/4]

vgl::thread_pool::thread_pool ( const thread_pool &  )
delete

◆ thread_pool() [4/4]

vgl::thread_pool::thread_pool ( thread_pool &&  other)
inlinenoexcept

◆ ~thread_pool()

vgl::thread_pool::~thread_pool ( )
inline

Member Function Documentation

◆ operator=() [1/2]

thread_pool & vgl::thread_pool::operator= ( const thread_pool &  )
delete

◆ operator=() [2/2]

thread_pool & vgl::thread_pool::operator= ( thread_pool &&  other)
inlinenoexcept

◆ create()

static expected< thread_pool > vgl::thread_pool::create ( const vgl_thread_pool_create_info *  info = nullptr)
inlinestaticnoexcept

◆ get()

vgl_thread_pool * vgl::thread_pool::get ( ) const
inlinenoexcept

◆ operator bool()

vgl::thread_pool::operator bool ( ) const
inlineexplicitnoexcept

◆ release()

vgl_thread_pool * vgl::thread_pool::release ( )
inlinenoexcept

◆ reset()

void vgl::thread_pool::reset ( vgl_thread_pool *  handle = nullptr)
inlinenoexcept

◆ task_interface_get()

vgl_task_interface vgl::thread_pool::task_interface_get ( ) const
inlinenoexcept

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