Cern
LibTmsApi 2.3.0

BAtomicCount class. More...

#include <BAtomicCount.h>

Public Member Functions

 BAtomicCount (long value=0)
 
long getValue () const
 
long add (long value)
 
long operator++ (int)
 
long operator++ ()
 
long operator-- (int)
 
long operator-- ()
 
 operator long () const
 

Private Attributes

_Atomic_word ovalue
 

Detailed Description

BAtomicCount class.

Constructor & Destructor Documentation

◆ BAtomicCount()

BAtomicCount::BAtomicCount ( long  value = 0)
inline

Member Function Documentation

◆ add()

long BAtomicCount::add ( long  value)
inline

◆ getValue()

long BAtomicCount::getValue ( ) const
inline

◆ operator long()

BAtomicCount::operator long ( ) const
inline

◆ operator++() [1/2]

long BAtomicCount::operator++ ( )
inline

◆ operator++() [2/2]

long BAtomicCount::operator++ ( int  )
inline

◆ operator--() [1/2]

long BAtomicCount::operator-- ( )
inline

◆ operator--() [2/2]

long BAtomicCount::operator-- ( int  )
inline

Member Data Documentation

◆ ovalue

_Atomic_word BAtomicCount::ovalue
mutableprivate

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