OpenThreads
Public Member Functions | List of all members
OpenThreads::Atomic Class Reference

This class provides an atomic increment and decrement operation. More...

Public Member Functions

 Atomic (unsigned value=0)
 
_OPENTHREADS_ATOMIC_INLINE unsigned operator++ ()
 
_OPENTHREADS_ATOMIC_INLINE unsigned operator-- ()
 
_OPENTHREADS_ATOMIC_INLINE unsigned AND (unsigned value)
 
_OPENTHREADS_ATOMIC_INLINE unsigned OR (unsigned value)
 
_OPENTHREADS_ATOMIC_INLINE unsigned XOR (unsigned value)
 
_OPENTHREADS_ATOMIC_INLINE unsigned exchange (unsigned value=0)
 
_OPENTHREADS_ATOMIC_INLINE operator unsigned () const
 

Detailed Description

This class provides an atomic increment and decrement operation.

Constructor & Destructor Documentation

OpenThreads::Atomic::Atomic ( unsigned  value = 0)
inline

Member Function Documentation

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::AND ( unsigned  value)
_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::exchange ( unsigned  value = 0)
_OPENTHREADS_ATOMIC_INLINE OpenThreads::Atomic::operator unsigned ( ) const
_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::operator++ ( )
_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::operator-- ( )
_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::OR ( unsigned  value)
_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::XOR ( unsigned  value)

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

osg logo
Generated at Wed Nov 11 2015 22:28:36 for the OpenThreads by doxygen 1.8.10.