Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Internal::TAtomicPointer< T > Class Template Reference

template<typename T>
class ROOT::Internal::TAtomicPointer< T >

Helper class to manage atomic pointers.

Template Parameters
TPointer type to be made atomic

Helper class to manage atomic pointers. The class enforces that the templated type is a pointer.

Definition at line 47 of file TProcessID.h.

Public Member Functions

 TAtomicPointer ()
 
 ~TAtomicPointer ()
 
 operator T () const
 
operator-> () const
 
operator= (const T &t)
 

Private Attributes

std::atomic< T > fAtomic
 

#include <TProcessID.h>

Constructor & Destructor Documentation

◆ TAtomicPointer()

template<typename T>
ROOT::Internal::TAtomicPointer< T >::TAtomicPointer ( )
inline

Definition at line 52 of file TProcessID.h.

◆ ~TAtomicPointer()

template<typename T>
ROOT::Internal::TAtomicPointer< T >::~TAtomicPointer ( )
inline

Definition at line 57 of file TProcessID.h.

Member Function Documentation

◆ operator T()

template<typename T>
ROOT::Internal::TAtomicPointer< T >::operator T ( ) const
inline

Definition at line 61 of file TProcessID.h.

◆ operator->()

template<typename T>
T ROOT::Internal::TAtomicPointer< T >::operator-> ( ) const
inline

Definition at line 59 of file TProcessID.h.

◆ operator=()

template<typename T>
T ROOT::Internal::TAtomicPointer< T >::operator= ( const T &  t)
inline

Definition at line 63 of file TProcessID.h.

Member Data Documentation

◆ fAtomic

template<typename T>
std::atomic<T> ROOT::Internal::TAtomicPointer< T >::fAtomic
private

Definition at line 49 of file TProcessID.h.


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