dxd - dynax driver framework 2.1.0d58
cross platform open source driver development framework
Loading...
Searching...
No Matches
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 ()=default
 
 __atomic_scalar (const type_t &value)
 
 __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++ ()
 ++atomic<>
 
type_t operator++ ()
 ++atomic<>
 
type_t operator++ (int)
 atomic<>++
 
type_t operator++ (int)
 atomic<>++
 
type_t operator+= (const type_t &amount)
 
type_t operator+= (const type_t &amount)
 
type_t operator-- ()
 –atomic<>
 
type_t operator-- ()
 –atomic<>
 
type_t operator-- (int)
 atomic<>–
 
type_t operator-- (int)
 atomic<>–
 
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

◆ __atomic_scalar() [1/4]

template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( )
default

◆ __atomic_scalar() [2/4]

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

◆ __atomic_scalar() [3/4]

template<typename type_t >
dxd::__atomic_scalar< 4, type_t >::__atomic_scalar ( )
default

◆ __atomic_scalar() [4/4]

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

Member Function Documentation

◆ compare_exchange() [1/2]

template<typename type_t >
bool dxd::__atomic_scalar< 4, type_t >::compare_exchange ( const type_t & expected,
const type_t & desired )
inline

◆ compare_exchange() [2/2]

template<typename type_t >
bool dxd::__atomic_scalar< 4, type_t >::compare_exchange ( const type_t & expected,
const type_t & desired )
inline

◆ operator volatile type_t &() [1/2]

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

◆ operator volatile type_t &() [2/2]

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

◆ operator&=() [1/2]

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

◆ operator&=() [2/2]

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

◆ operator++() [1/4]

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

++atomic<>

◆ operator++() [2/4]

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

++atomic<>

◆ operator++() [3/4]

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

atomic<>++

◆ operator++() [4/4]

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

atomic<>++

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

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

◆ operator--() [1/4]

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

–atomic<>

◆ operator--() [2/4]

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

–atomic<>

◆ operator--() [3/4]

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

atomic<>–

◆ operator--() [4/4]

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

atomic<>–

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator|=() [1/2]

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

◆ operator|=() [2/2]

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

Member Data Documentation

◆ value

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 files:

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Mar 23 2024

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.