HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StdThreadGroup< UseTBB > Class Template Reference

#include <UT_Thread.h>

Public Types

using thread_t = UT_StdThread< UseTBB >
 

Public Member Functions

 UT_StdThreadGroup (int nthreads=-1)
 
 UT_StdThreadGroup (const UT_StdThreadGroup &)=delete
 
UT_StdThreadGroupoperator= (const UT_StdThreadGroup &)=delete
 
thread_tget (int idx)
 
const thread_tget (int idx) const
 
thread_toperator[] (int idx)
 
const thread_toperator[] (int idx) const
 
bool joinable () const
 
bool joinable (int idx) const
 
void join ()
 

Detailed Description

template<bool UseTBB = true>
class UT_StdThreadGroup< UseTBB >

Definition at line 566 of file UT_Thread.h.

Member Typedef Documentation

template<bool UseTBB = true>
using UT_StdThreadGroup< UseTBB >::thread_t = UT_StdThread<UseTBB>

Definition at line 569 of file UT_Thread.h.

Constructor & Destructor Documentation

template<bool UseTBB = true>
UT_StdThreadGroup< UseTBB >::UT_StdThreadGroup ( int  nthreads = -1)
inlineexplicit

Definition at line 571 of file UT_Thread.h.

template<bool UseTBB = true>
UT_StdThreadGroup< UseTBB >::UT_StdThreadGroup ( const UT_StdThreadGroup< UseTBB > &  )
delete

Member Function Documentation

template<bool UseTBB = true>
thread_t& UT_StdThreadGroup< UseTBB >::get ( int  idx)
inline

Definition at line 582 of file UT_Thread.h.

template<bool UseTBB = true>
const thread_t& UT_StdThreadGroup< UseTBB >::get ( int  idx) const
inline

Definition at line 586 of file UT_Thread.h.

template<bool UseTBB = true>
void UT_StdThreadGroup< UseTBB >::join ( )
inline

Definition at line 611 of file UT_Thread.h.

template<bool UseTBB = true>
bool UT_StdThreadGroup< UseTBB >::joinable ( ) const
inline

Definition at line 598 of file UT_Thread.h.

template<bool UseTBB = true>
bool UT_StdThreadGroup< UseTBB >::joinable ( int  idx) const
inline

Definition at line 607 of file UT_Thread.h.

template<bool UseTBB = true>
UT_StdThreadGroup& UT_StdThreadGroup< UseTBB >::operator= ( const UT_StdThreadGroup< UseTBB > &  )
delete
template<bool UseTBB = true>
thread_t& UT_StdThreadGroup< UseTBB >::operator[] ( int  idx)
inline

Definition at line 590 of file UT_Thread.h.

template<bool UseTBB = true>
const thread_t& UT_StdThreadGroup< UseTBB >::operator[] ( int  idx) const
inline

Definition at line 594 of file UT_Thread.h.


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