OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
OpenThreads::Atomic Class Reference

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

#include <Atomic.h>

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.

Definition at line 48 of file Atomic.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file Atomic.h.

Member Function Documentation

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::AND ( unsigned  value)

Definition at line 141 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::exchange ( unsigned  value = 0)

Definition at line 200 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE OpenThreads::Atomic::operator unsigned ( ) const

Definition at line 221 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::operator++ ( )

Definition at line 107 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::operator-- ( )

Definition at line 124 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::OR ( unsigned  value)

Definition at line 160 of file Atomic.h.

_OPENTHREADS_ATOMIC_INLINE unsigned OpenThreads::Atomic::XOR ( unsigned  value)

Definition at line 179 of file Atomic.h.


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