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

#include "OVR_Atomic.h"

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

Public Member Functions

 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
 

Data Fields

volatile T Value
 

Protected Types

typedef AtomicOps< T > Ops
 

Detailed Description

template<class T>
class OVR::AtomicValueBase< T >

Definition at line 597 of file OVR_Atomic.h.

Member Typedef Documentation

template<class T>
typedef AtomicOps<T> OVR::AtomicValueBase< T >::Ops
protected

Definition at line 600 of file OVR_Atomic.h.

Constructor & Destructor Documentation

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

Definition at line 605 of file OVR_Atomic.h.

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

Definition at line 606 of file OVR_Atomic.h.

Member Function Documentation

template<class T>
bool OVR::AtomicValueBase< T >::CompareAndSet_Acquire ( c,
val 
)
inline

Definition at line 619 of file OVR_Atomic.h.

template<class T>
bool OVR::AtomicValueBase< T >::CompareAndSet_NoSync ( c,
val 
)
inline

Definition at line 620 of file OVR_Atomic.h.

template<class T>
bool OVR::AtomicValueBase< T >::CompareAndSet_Release ( c,
val 
)
inline

Definition at line 618 of file OVR_Atomic.h.

template<class T>
bool OVR::AtomicValueBase< T >::CompareAndSet_Sync ( c,
val 
)
inline

Definition at line 617 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicValueBase< T >::Exchange_Acquire ( val)
inline

Definition at line 615 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicValueBase< T >::Exchange_NoSync ( val)
inline

Definition at line 616 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicValueBase< T >::Exchange_Release ( val)
inline

Definition at line 614 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicValueBase< T >::Exchange_Sync ( val)
inline

Definition at line 613 of file OVR_Atomic.h.

template<class T>
T OVR::AtomicValueBase< T >::Load_Acquire ( ) const
inline

Definition at line 623 of file OVR_Atomic.h.

template<class T>
OVR::AtomicValueBase< T >::operator T ( ) const
inline

Definition at line 610 of file OVR_Atomic.h.

template<class T>
void OVR::AtomicValueBase< T >::Store_Release ( val)
inline

Definition at line 622 of file OVR_Atomic.h.

Field Documentation

template<class T>
volatile T OVR::AtomicValueBase< T >::Value

Definition at line 603 of file OVR_Atomic.h.


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