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)
 
ExchangeAdd_Sync (T val)
 
ExchangeAdd_Release (T val)
 
ExchangeAdd_Acquire (T val)
 
ExchangeAdd_NoSync (T val)
 
void Increment_Sync ()
 
void Increment_Release ()
 
void Increment_Acquire ()
 
void Increment_NoSync ()
 
operator= (T val)
 
operator+= (T val)
 
operator-= (T val)
 
operator++ ()
 
operator-- ()
 
operator++ (int)
 
operator-- (int)
 
operator&= (T arg)
 
operator|= (T arg)
 
operator^= (T arg)
 
operator*= (T arg)
 
operator/= (T arg)
 
operator>>= (unsigned bits)
 
operator<<= (unsigned bits)
 
- Public Member Functions inherited from OVR::AtomicValueBase< T >
 AtomicValueBase ()
 
 AtomicValueBase (T val)
 
 operator T () const
 
Exchange_Sync (T val)
 
Exchange_Release (T val)
 
Exchange_Acquire (T val)
 
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)
 
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 ( val)
inlineexplicit

Definition at line 692 of file OVR_Atomic.h.

Member Function Documentation

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

Definition at line 698 of file OVR_Atomic.h.

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

Definition at line 699 of file OVR_Atomic.h.

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

Definition at line 697 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::ExchangeAdd_Sync ( 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&= ( arg)
inline

Definition at line 718 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator*= ( 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+= ( 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-= ( val)
inline

Definition at line 710 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicInt< T >::operator/= ( 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= ( 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^= ( arg)
inline

Definition at line 738 of file OVR_Atomic.h.

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

Definition at line 728 of file OVR_Atomic.h.


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