dxd - dynax driver framework  2747
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dxd::__atomic_scalar< 4, type_t > Class Template Reference

32bit atomic operations More...

#include <dxd_sync_platform.h>

Public Member Functions

 __atomic_scalar ()=default
 
 __atomic_scalar (const type_t &value)
 
 __atomic_scalar ()=default
 
 __atomic_scalar (const type_t &value)
 
bool compare_exchange (const type_t &expected, const type_t &desired)
 
bool compare_exchange (const type_t &expected, const type_t &desired)
 
 operator volatile type_t & ()
 
 operator volatile type_t & ()
 
type_t operator&= (const type_t &mask)
 
type_t operator&= (const type_t &mask)
 
type_t operator++ (int)
 atomic<>++ More...
 
type_t operator++ ()
 ++atomic<> More...
 
type_t operator++ (int)
 atomic<>++ More...
 
type_t operator++ ()
 ++atomic<> More...
 
type_t operator+= (const type_t &amount)
 
type_t operator+= (const type_t &amount)
 
type_t operator-- (int)
 atomic<>– More...
 
type_t operator-- ()
 –atomic<> More...
 
type_t operator-- (int)
 atomic<>– More...
 
type_t operator-- ()
 –atomic<> More...
 
type_t operator-= (const type_t &amount)
 
type_t operator-= (const type_t &amount)
 
type_t operator= (const type_t &value)
 
type_t operator= (const type_t &value)
 
type_t operator|= (const type_t &mask)
 
type_t operator|= (const type_t &mask)
 

Protected Attributes

volatile type_t value
 

Detailed Description

template<typename type_t>
class dxd::__atomic_scalar< 4, type_t >

32bit atomic operations

Constructor & Destructor Documentation

template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( )
default
template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( const type_t &  value)
inline
template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( )
default
template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( const type_t &  value)
inline

Member Function Documentation

template<typename type_t >
bool dxd::__atomic_scalar< 4, type_t >::compare_exchange ( const type_t &  expected,
const type_t &  desired 
)
inline
template<typename type_t >
bool dxd::__atomic_scalar< 4, type_t >::compare_exchange ( const type_t &  expected,
const type_t &  desired 
)
inline
template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::operator volatile type_t & ( )
inline
template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::operator volatile type_t & ( )
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator&= ( const type_t &  mask)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator&= ( const type_t &  mask)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator++ ( int  )
inline

atomic<>++

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator++ ( )
inline

++atomic<>

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator++ ( int  )
inline

atomic<>++

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator++ ( )
inline

++atomic<>

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator+= ( const type_t &  amount)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator+= ( const type_t &  amount)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-- ( int  )
inline

atomic<>–

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-- ( )
inline

–atomic<>

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-- ( int  )
inline

atomic<>–

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-- ( )
inline

–atomic<>

template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-= ( const type_t &  amount)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator-= ( const type_t &  amount)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator= ( const type_t &  value)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator= ( const type_t &  value)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator|= ( const type_t &  mask)
inline
template<typename type_t >
type_t dxd::__atomic_scalar< 4, type_t >::operator|= ( const type_t &  mask)
inline

Member Data Documentation

template<typename type_t >
volatile type_t dxd::__atomic_scalar< 4, type_t >::value
protected

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Jun 23 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.