Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TThreadedObject.hxx File Reference
#include "ROOT/TSpinMutex.hxx"
#include "TDirectory.h"
#include "TError.h"
#include "TList.h"
#include "TROOT.h"
#include <algorithm>
#include <exception>
#include <deque>
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <thread>
#include <vector>

Classes

struct  ROOT::Internal::TThreadedObjectUtils::Cloner< T, isCopyConstructible >
 Return a copy of the object or a "Clone" if the copy constructor is not implemented. More...
struct  ROOT::Internal::TThreadedObjectUtils::Cloner< T, false >
struct  ROOT::Internal::TThreadedObjectUtils::Detacher< T, ISHISTO >
struct  ROOT::Internal::TThreadedObjectUtils::Detacher< T, true >
struct  ROOT::Internal::TThreadedObjectUtils::DirCreator< T, ISHISTO >
struct  ROOT::Internal::TThreadedObjectUtils::DirCreator< T, true >
class  ROOT::TNumSlots
 Defines the number of threads in some of ROOT's interfaces. More...
class  ROOT::TThreadedObject< T >
 A wrapper to make object instances thread private, lazily. More...

Namespaces

namespace  ROOT
namespace  ROOT::Internal
namespace  ROOT::Internal::TThreadedObjectUtils
namespace  ROOT::TThreadedObjectUtils

Typedefs

template<class T>
using ROOT::TThreadedObjectUtils::MergeFunctionType = std::function<void(std::shared_ptr<T>, std::vector<std::shared_ptr<T>>&)>

Functions

template<class T>
void ROOT::TThreadedObjectUtils::MergeTObjects (std::shared_ptr< T > target, std::vector< std::shared_ptr< T > > &objs)
 Merge TObjects.

Variables

template<class T>
constexpr const TNumSlots ROOT::TThreadedObject< T >::fgMaxSlots