Beamlib 3.3.2
This is the Beam C++ class library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BAtomic< Type > Class Template Reference

BAtomic class increments/decrements different integer types. More...

#include <BAtomic.h>

Public Member Functions

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

Detailed Description

template<class Type>
class BAtomic< Type >

BAtomic class increments/decrements different integer types.

Constructor & Destructor Documentation

◆ BAtomic()

template<class Type >
BAtomic< Type >::BAtomic ( Type  value = 0)
inline

Member Function Documentation

◆ getValue()

template<class Type >
Type BAtomic< Type >::getValue ( ) const
inline

◆ add()

template<class Type >
Type BAtomic< Type >::add ( long  value)
inline

◆ operator++() [1/2]

template<class Type >
Type BAtomic< Type >::operator++ ( int  )
inline

◆ operator++() [2/2]

template<class Type >
Type BAtomic< Type >::operator++ ( )
inline

◆ operator--() [1/2]

template<class Type >
Type BAtomic< Type >::operator-- ( int  )
inline

◆ operator--() [2/2]

template<class Type >
Type BAtomic< Type >::operator-- ( )
inline

◆ operator Type()

template<class Type >
BAtomic< Type >::operator Type ( ) const
inline

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