TAtomicCount Class Reference

#include <TAtomicCount.h>

List of all members.

Public Member Functions

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

Private Member Functions

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

Private Attributes

Long_t fCnt
_Atomic_word fCnt
pthread_mutex_t fMutex

Classes

class  LockGuard


Detailed Description

Definition at line 71 of file TAtomicCount.h.


Constructor & Destructor Documentation

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 79 of file TAtomicCount.h.

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 54 of file TAtomicCountGcc.h.

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 50 of file TAtomicCountPthread.h.

References fMutex, and pthread_mutex_init().

TAtomicCount::~TAtomicCount (  )  [inline]

Definition at line 54 of file TAtomicCountPthread.h.

References fMutex, and pthread_mutex_destroy().

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 39 of file TAtomicCountWin32.h.

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 54 of file TAtomicCountGcc.h.

TAtomicCount::TAtomicCount ( const TAtomicCount  )  [private]

TAtomicCount::TAtomicCount ( Long_t  v  )  [inline, explicit]

Definition at line 50 of file TAtomicCountPthread.h.

References fMutex, and pthread_mutex_init().

TAtomicCount::~TAtomicCount (  )  [inline]

Definition at line 54 of file TAtomicCountPthread.h.

References fMutex, and pthread_mutex_destroy().


Member Function Documentation

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 80 of file TAtomicCount.h.

References fCnt.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 81 of file TAtomicCount.h.

References fCnt.

TAtomicCount::operator long (  )  const [inline]

Definition at line 82 of file TAtomicCount.h.

References fCnt.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 83 of file TAtomicCount.h.

References fCnt.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 84 of file TAtomicCount.h.

References fCnt.

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 55 of file TAtomicCountGcc.h.

References fCnt.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 56 of file TAtomicCountGcc.h.

References fCnt.

TAtomicCount::operator long (  )  const [inline]

Definition at line 57 of file TAtomicCountGcc.h.

References fCnt.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 58 of file TAtomicCountGcc.h.

References fCnt.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 66 of file TAtomicCountGcc.h.

References fCnt.

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 56 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 61 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

TAtomicCount::operator long (  )  const [inline]

Definition at line 66 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 71 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 76 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 40 of file TAtomicCountWin32.h.

References fCnt.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 41 of file TAtomicCountWin32.h.

References fCnt.

TAtomicCount::operator long (  )  const [inline]

Definition at line 42 of file TAtomicCountWin32.h.

References fCnt.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 43 of file TAtomicCountWin32.h.

References fCnt.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 44 of file TAtomicCountWin32.h.

References fCnt.

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 55 of file TAtomicCountGcc.h.

References fCnt.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 56 of file TAtomicCountGcc.h.

References fCnt.

TAtomicCount::operator long (  )  const [inline]

Definition at line 57 of file TAtomicCountGcc.h.

References fCnt.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 58 of file TAtomicCountGcc.h.

References fCnt.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 66 of file TAtomicCountGcc.h.

References fCnt.

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

void TAtomicCount::operator++ (  )  [inline]

Definition at line 56 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

Long_t TAtomicCount::operator-- (  )  [inline]

Definition at line 61 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

TAtomicCount::operator long (  )  const [inline]

Definition at line 66 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

void TAtomicCount::Set ( Long_t  v  )  [inline]

Definition at line 71 of file TAtomicCountPthread.h.

References fCnt, and fMutex.

Long_t TAtomicCount::Get (  )  const [inline]

Definition at line 76 of file TAtomicCountPthread.h.

References fCnt, and fMutex.


Member Data Documentation

Long_t TAtomicCount::fCnt [mutable, private]

Definition at line 73 of file TAtomicCount.h.

Referenced by Get(), operator long(), operator++(), operator--(), and Set().

_Atomic_word TAtomicCount::fCnt [mutable, private]

Definition at line 48 of file TAtomicCountGcc.h.

pthread_mutex_t TAtomicCount::fMutex [mutable, private]

Definition at line 36 of file TAtomicCountPthread.h.

Referenced by Get(), operator long(), operator++(), operator--(), Set(), TAtomicCount(), and ~TAtomicCount().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:40 2011 for ROOT_528-00b_version by  doxygen 1.5.1