Electronics and Software
Engineering Innovation
Beam-lib  2.15.1

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++ ( int  )
inline

◆ operator++() [2/2]

long BAtomicCount::operator++ ( )
inline

◆ operator--() [1/2]

long BAtomicCount::operator-- ( int  )
inline

◆ operator--() [2/2]

long BAtomicCount::operator-- ( )
inline

Member Data Documentation

◆ ovalue

_Atomic_word BAtomicCount::ovalue
mutableprivate

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