ThreadPool::Handle Class Reference

#include <ArmarXCore/core/services/tasks/ThreadPool.h>

Public Member Functions

void detach ()
 
const std::shared_future< void > & getFuture () const
 
 Handle ()
 
 Handle (Handle &&)=default
 
 Handle (std::shared_future< void > functionFinished)
 
bool isDetached () const
 
bool isJoined () const
 
bool isValid () const
 
void join ()
 
 operator bool () const
 
Handle & operator= (Handle &&)=default
 
 ~Handle () noexcept(false)
 

Constructor & Destructor Documentation

◆ Handle() [1/3]

Handle ( )

◆ Handle() [2/3]

Handle ( Handle && )
default

◆ Handle() [3/3]

Handle ( std::shared_future< void > functionFinished)

◆ ~Handle()

~Handle ( )

Member Function Documentation

◆ detach()

void detach ( )

◆ getFuture()

const std::shared_future< void > & getFuture ( ) const

◆ isDetached()

bool isDetached ( ) const

◆ isJoined()

bool isJoined ( ) const

◆ isValid()

bool isValid ( ) const

◆ join()

void join ( )

◆ operator bool()

operator bool ( ) const
inline

◆ operator=()

Handle & operator= ( Handle && )
default

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