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 40 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 45 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 49 of file TFuture.hxx.

◆ TFutureImpl() [2/5]

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

Definition at line 53 of file TFuture.hxx.

◆ TFutureImpl() [3/5]

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

Definition at line 55 of file TFuture.hxx.

◆ TFutureImpl() [4/5]

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

Definition at line 57 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 59 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 74 of file TFuture.hxx.

◆ wait()

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

Definition at line 68 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 42 of file TFuture.hxx.

Member Data Documentation

◆ fStdFut

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

Definition at line 46 of file TFuture.hxx.

◆ fTg

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

Definition at line 47 of file TFuture.hxx.

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