Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFuture.hxx File Reference
#include "RConfigure.h"
#include "ROOT/TTaskGroup.hxx"
#include "ROOT/TypeTraits.hxx"
#include <type_traits>
#include <future>
Include dependency graph for TFuture.hxx:

Classes

class  ROOT::Experimental::TFuture< T >
 A TFuture class. It can wrap an std::future. More...
 
class  ROOT::Detail::TFutureImpl< T >
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Detail
 Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target type inherits from TObject and a new constructor that takes the TCollection by pointer.
 
namespace  ROOT::Experimental
 

Functions

template<class Function , class... Args>
TFuture< ROOT::TypeTraits::InvokeResult_t< typename std::decay< Function >::type, typename std::decay< Args >::type... > > ROOT::Experimental::Async (Function &&f, Args &&...args)
 Runs a function asynchronously potentially in a new thread and returns a ROOT TFuture that will hold the result.