Logo ROOT   6.10/09
Reference Guide
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAtomicCount Class Reference

Definition at line 67 of file TAtomicCount.h.

Classes

class  LockGuard
 

Public Member Functions

 TAtomicCount (Long_t v)
 
 TAtomicCount (Long_t v)
 
 TAtomicCount (Long_t v)
 
 TAtomicCount (Long_t v)
 
 ~TAtomicCount ()
 
Long_t Get () const
 
Long_t Get () const
 
Long_t Get () const
 
Long_t Get () const
 
 operator long () const
 
 operator long () const
 
 operator long () const
 
 operator long () const
 
void operator++ ()
 
void operator++ ()
 
void operator++ ()
 
void operator++ ()
 
Long_t operator-- ()
 
Long_t operator-- ()
 
Long_t operator-- ()
 
Long_t operator-- ()
 
void Set (Long_t v)
 
void Set (Long_t v)
 
void Set (Long_t v)
 
void Set (Long_t v)
 

Private Member Functions

 TAtomicCount (const TAtomicCount &)
 
 TAtomicCount (const TAtomicCount &)
 
 TAtomicCount (const TAtomicCount &)
 
 TAtomicCount (const TAtomicCount &)
 
TAtomicCountoperator= (const TAtomicCount &)
 
TAtomicCountoperator= (const TAtomicCount &)
 
TAtomicCountoperator= (const TAtomicCount &)
 
TAtomicCountoperator= (const TAtomicCount &)
 

Private Attributes

_Atomic_word fCnt
 
Long_t fCnt
 
pthread_mutex_t fMutex
 

#include <TAtomicCount.h>

Constructor & Destructor Documentation

◆ TAtomicCount() [1/8]

TAtomicCount::TAtomicCount ( const TAtomicCount )
private

◆ TAtomicCount() [2/8]

TAtomicCount::TAtomicCount ( Long_t  v)
inlineexplicit

Definition at line 75 of file TAtomicCount.h.

◆ TAtomicCount() [3/8]

TAtomicCount::TAtomicCount ( const TAtomicCount )
private

◆ TAtomicCount() [4/8]

TAtomicCount::TAtomicCount ( Long_t  v)
inlineexplicit

Definition at line 60 of file TAtomicCountGcc.h.

◆ TAtomicCount() [5/8]

TAtomicCount::TAtomicCount ( const TAtomicCount )
private

◆ TAtomicCount() [6/8]

TAtomicCount::TAtomicCount ( Long_t  v)
inlineexplicit

Definition at line 52 of file TAtomicCountPthread.h.

◆ ~TAtomicCount()

TAtomicCount::~TAtomicCount ( )
inline

Definition at line 56 of file TAtomicCountPthread.h.

◆ TAtomicCount() [7/8]

TAtomicCount::TAtomicCount ( const TAtomicCount )
private

◆ TAtomicCount() [8/8]

TAtomicCount::TAtomicCount ( Long_t  v)
inlineexplicit

Definition at line 40 of file TWin32AtomicCount.h.

Member Function Documentation

◆ Get() [1/4]

Long_t TAtomicCount::Get ( ) const
inline

Definition at line 45 of file TWin32AtomicCount.h.

◆ Get() [2/4]

Long_t TAtomicCount::Get ( ) const
inline

Definition at line 72 of file TAtomicCountGcc.h.

◆ Get() [3/4]

Long_t TAtomicCount::Get ( ) const
inline

Definition at line 78 of file TAtomicCountPthread.h.

◆ Get() [4/4]

Long_t TAtomicCount::Get ( ) const
inline

Definition at line 80 of file TAtomicCount.h.

◆ operator long() [1/4]

TAtomicCount::operator long ( ) const
inline

Definition at line 43 of file TWin32AtomicCount.h.

◆ operator long() [2/4]

TAtomicCount::operator long ( ) const
inline

Definition at line 63 of file TAtomicCountGcc.h.

◆ operator long() [3/4]

TAtomicCount::operator long ( ) const
inline

Definition at line 68 of file TAtomicCountPthread.h.

◆ operator long() [4/4]

TAtomicCount::operator long ( ) const
inline

Definition at line 78 of file TAtomicCount.h.

◆ operator++() [1/4]

void TAtomicCount::operator++ ( )
inline

Definition at line 41 of file TWin32AtomicCount.h.

◆ operator++() [2/4]

void TAtomicCount::operator++ ( )
inline

Definition at line 58 of file TAtomicCountPthread.h.

◆ operator++() [3/4]

void TAtomicCount::operator++ ( )
inline

Definition at line 61 of file TAtomicCountGcc.h.

◆ operator++() [4/4]

void TAtomicCount::operator++ ( )
inline

Definition at line 76 of file TAtomicCount.h.

◆ operator--() [1/4]

Long_t TAtomicCount::operator-- ( )
inline

Definition at line 42 of file TWin32AtomicCount.h.

◆ operator--() [2/4]

Long_t TAtomicCount::operator-- ( )
inline

Definition at line 62 of file TAtomicCountGcc.h.

◆ operator--() [3/4]

Long_t TAtomicCount::operator-- ( )
inline

Definition at line 63 of file TAtomicCountPthread.h.

◆ operator--() [4/4]

Long_t TAtomicCount::operator-- ( )
inline

Definition at line 77 of file TAtomicCount.h.

◆ operator=() [1/4]

TAtomicCount& TAtomicCount::operator= ( const TAtomicCount )
private

◆ operator=() [2/4]

TAtomicCount& TAtomicCount::operator= ( const TAtomicCount )
private

◆ operator=() [3/4]

TAtomicCount& TAtomicCount::operator= ( const TAtomicCount )
private

◆ operator=() [4/4]

TAtomicCount& TAtomicCount::operator= ( const TAtomicCount )
private

◆ Set() [1/4]

void TAtomicCount::Set ( Long_t  v)
inline

Definition at line 44 of file TWin32AtomicCount.h.

◆ Set() [2/4]

void TAtomicCount::Set ( Long_t  v)
inline

Definition at line 64 of file TAtomicCountGcc.h.

◆ Set() [3/4]

void TAtomicCount::Set ( Long_t  v)
inline

Definition at line 73 of file TAtomicCountPthread.h.

◆ Set() [4/4]

void TAtomicCount::Set ( Long_t  v)
inline

Definition at line 79 of file TAtomicCount.h.

Member Data Documentation

◆ fCnt [1/2]

_Atomic_word TAtomicCount::fCnt
mutableprivate

Definition at line 54 of file TAtomicCountGcc.h.

◆ fCnt [2/2]

Long_t TAtomicCount::fCnt
private

Definition at line 69 of file TAtomicCount.h.

◆ fMutex

pthread_mutex_t TAtomicCount::fMutex
mutableprivate

Definition at line 38 of file TAtomicCountPthread.h.


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