Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Detail::TFutureImpl< T > Class Template Reference

template<typename T>
class ROOT::Detail::TFutureImpl< T >

Definition at line 41 of file TFuture.hxx.

Public Member Functions

 TFutureImpl (const TFutureImpl< T > &other)=delete
 
TFutureImpl< T > & operator= (TFutureImpl< T > &other)=delete
 
bool valid () const
 
void wait ()
 

Protected Types

using TTaskGroup = Experimental::TTaskGroup
 

Protected Member Functions

 TFutureImpl ()
 
 TFutureImpl (std::future< T > &&fut)
 
 TFutureImpl (std::future< T > &&fut, std::unique_ptr< TTaskGroup > &&tg)
 
 TFutureImpl (TFutureImpl< T > &&other)
 
TFutureImploperator= (std::future< T > &&other)
 
TFutureImpl< T > & operator= (TFutureImpl< T > &&other)=default
 

Protected Attributes

std::future< T > fStdFut
 
std::unique_ptr< TTaskGroupfTg {nullptr}
 

Friends

template<typename V >
class Experimental::TFuture
 

#include <ROOT/TFuture.hxx>

Inheritance diagram for ROOT::Detail::TFutureImpl< T >:
[legend]

Member Typedef Documentation

◆ TTaskGroup

template<typename T >
using ROOT::Detail::TFutureImpl< T >::TTaskGroup = Experimental::TTaskGroup
protected

Definition at line 46 of file TFuture.hxx.

Constructor & Destructor Documentation

◆ TFutureImpl() [1/5]

template<typename T >
ROOT::Detail::TFutureImpl< T >::TFutureImpl ( std::future< T > &&  fut,
std::unique_ptr< TTaskGroup > &&  tg 
)
inlineprotected

Definition at line 50 of file TFuture.hxx.

◆ TFutureImpl() [2/5]

template<typename T >
ROOT::Detail::TFutureImpl< T >::TFutureImpl ( )
inlineprotected

Definition at line 54 of file TFuture.hxx.

◆ TFutureImpl() [3/5]

template<typename T >
ROOT::Detail::TFutureImpl< T >::TFutureImpl ( std::future< T > &&  fut)
inlineprotected

Definition at line 56 of file TFuture.hxx.

◆ TFutureImpl() [4/5]

template<typename T >
ROOT::Detail::TFutureImpl< T >::TFutureImpl ( TFutureImpl< T > &&  other)
inlineprotected

Definition at line 58 of file TFuture.hxx.

◆ TFutureImpl() [5/5]

template<typename T >
ROOT::Detail::TFutureImpl< T >::TFutureImpl ( const TFutureImpl< T > &  other)
delete

Member Function Documentation

◆ operator=() [1/3]

template<typename T >
TFutureImpl & ROOT::Detail::TFutureImpl< T >::operator= ( std::future< T > &&  other)
inlineprotected

Definition at line 60 of file TFuture.hxx.

◆ operator=() [2/3]

template<typename T >
TFutureImpl< T > & ROOT::Detail::TFutureImpl< T >::operator= ( TFutureImpl< T > &&  other)
protecteddefault

◆ operator=() [3/3]

template<typename T >
TFutureImpl< T > & ROOT::Detail::TFutureImpl< T >::operator= ( TFutureImpl< T > &  other)
delete

◆ valid()

template<typename T >
bool ROOT::Detail::TFutureImpl< T >::valid ( ) const
inline

Definition at line 75 of file TFuture.hxx.

◆ wait()

template<typename T >
void ROOT::Detail::TFutureImpl< T >::wait ( )
inline

Definition at line 69 of file TFuture.hxx.

Friends And Related Symbol Documentation

◆ Experimental::TFuture

template<typename T >
template<typename V >
friend class Experimental::TFuture
friend

Definition at line 43 of file TFuture.hxx.

Member Data Documentation

◆ fStdFut

template<typename T >
std::future<T> ROOT::Detail::TFutureImpl< T >::fStdFut
protected

Definition at line 47 of file TFuture.hxx.

◆ fTg

template<typename T >
std::unique_ptr<TTaskGroup> ROOT::Detail::TFutureImpl< T >::fTg {nullptr}
protected

Definition at line 48 of file TFuture.hxx.

  • core/imt/inc/ROOT/TFuture.hxx