Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::AtomicInt< T > Class Template Reference

#include "OVR_Atomic.h"

Inheritance diagram for OVR::AtomicInt< T >:
Inheritance graph
Collaboration diagram for OVR::AtomicInt< T >:
Collaboration graph

Public Member Functions

 AtomicInt ()
 
 AtomicInt (T val)
 
T ExchangeAdd_Sync (T val)
 
T ExchangeAdd_Release (T val)
 
T ExchangeAdd_Acquire (T val)
 
T ExchangeAdd_NoSync (T val)
 
void Increment_Sync ()
 
void Increment_Release ()
 
void Increment_Acquire ()
 
void Increment_NoSync ()
 
T operator= (T val)
 
T operator+= (T val)
 
T operator-= (T val)
 
T operator++ ()
 
T operator-- ()
 
T operator++ (int)
 
T operator-- (int)
 
T operator&= (T arg)
 
T operator|= (T arg)
 
T operator^= (T arg)
 
T operator*= (T arg)
 
T operator/= (T arg)
 
T operator>>= (unsigned bits)
 
T operator<<= (unsigned bits)
 
- Public Member Functions inherited from OVR::AtomicValueBase< T >
 AtomicValueBase ()
 
 AtomicValueBase (T val)
 
 operator T () const
 
T Exchange_Sync (T val)
 
T Exchange_Release (T val)
 
T Exchange_Acquire (T val)
 
T Exchange_NoSync (T val)
 
bool CompareAndSet_Sync (T c, T val)
 
bool CompareAndSet_Release (T c, T val)
 
bool CompareAndSet_Acquire (T c, T val)
 
bool CompareAndSet_NoSync (T c, T val)
 
void Store_Release (T val)
 
T Load_Acquire () const
 

Private Types

typedef AtomicValueBase< T >::Ops Ops
 

Additional Inherited Members

- Data Fields inherited from OVR::AtomicValueBase< T >
volatile T Value
 
- Protected Types inherited from OVR::AtomicValueBase< T >
typedef AtomicOps< T > Ops
 

Detailed Description

template<class T>
class OVR::AtomicInt< T >

Definition at line 50 of file OVR_Atomic.h.

Member Typedef Documentation

template<class T>
typedef AtomicValueBase<T>::Ops OVR::AtomicInt< T >::Ops
private

Definition at line 688 of file OVR_Atomic.h.

Constructor & Destructor Documentation

template<class T>
OVR::AtomicInt< T >::AtomicInt ( )
inline

Definition at line 691 of file OVR_Atomic.h.

template<class T>
OVR::AtomicInt< T >::AtomicInt ( T  val)
inlineexplicit

Definition at line 692 of file OVR_Atomic.h.

Member Function Documentation

template<class T>
T OVR::AtomicInt< T >::ExchangeAdd_Acquire ( T  val)
inline

Definition at line 698 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::ExchangeAdd_NoSync ( T  val)
inline

Definition at line 699 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::ExchangeAdd_Release ( T  val)
inline

Definition at line 697 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::ExchangeAdd_Sync ( T  val)
inline

Definition at line 696 of file OVR_Atomic.h.

template<class T>
void OVR::AtomicInt< T >::Increment_Acquire ( )
inline

Definition at line 703 of file OVR_Atomic.h.

template<class T>
void OVR::AtomicInt< T >::Increment_NoSync ( )
inline

Definition at line 704 of file OVR_Atomic.h.

template<class T>
void OVR::AtomicInt< T >::Increment_Release ( )
inline

Definition at line 702 of file OVR_Atomic.h.

template<class T>
void OVR::AtomicInt< T >::Increment_Sync ( )
inline

Definition at line 701 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator&= ( T  arg)
inline

Definition at line 718 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator*= ( T  arg)
inline

Definition at line 748 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator++ ( )
inline

Definition at line 712 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator++ ( int  )
inline

Definition at line 714 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator+= ( T  val)
inline

Definition at line 709 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator-- ( )
inline

Definition at line 713 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator-- ( int  )
inline

Definition at line 715 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator-= ( T  val)
inline

Definition at line 710 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator/= ( T  arg)
inline

Definition at line 758 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator<<= ( unsigned  bits)
inline

Definition at line 778 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator= ( T  val)
inline

Definition at line 708 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator>>= ( unsigned  bits)
inline

Definition at line 768 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator^= ( T  arg)
inline

Definition at line 738 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator|= ( T  arg)
inline

Definition at line 728 of file OVR_Atomic.h.


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