#include <OVR_Atomic.h>
Public Member Functions | |
AtomicValueBase () | |
AtomicValueBase (T val) | |
bool | CompareAndSet_Acquire (T c, T val) |
bool | CompareAndSet_NoSync (T c, T val) |
bool | CompareAndSet_Release (T c, T val) |
bool | CompareAndSet_Sync (T c, T val) |
T | Exchange_Acquire (T val) |
T | Exchange_NoSync (T val) |
T | Exchange_Release (T val) |
T | Exchange_Sync (T val) |
T | Load_Acquire () const |
operator T () const | |
void | Store_Release (T val) |
Public Attributes | |
volatile T | Value |
Protected Types | |
typedef AtomicOps< T > | Ops |
Definition at line 586 of file OVR_Atomic.h.
typedef AtomicOps<T> OVR::AtomicValueBase< T >::Ops [protected] |
Reimplemented in OVR::AtomicInt< T >, OVR::AtomicInt< SInt32 >, OVR::AtomicInt< UInt32 >, and OVR::AtomicPtr< T >.
Definition at line 589 of file OVR_Atomic.h.
OVR::AtomicValueBase< T >::AtomicValueBase | ( | ) | [inline] |
Definition at line 594 of file OVR_Atomic.h.
OVR::AtomicValueBase< T >::AtomicValueBase | ( | T | val | ) | [inline, explicit] |
Definition at line 595 of file OVR_Atomic.h.
bool OVR::AtomicValueBase< T >::CompareAndSet_Acquire | ( | T | c, |
T | val | ||
) | [inline] |
Definition at line 608 of file OVR_Atomic.h.
bool OVR::AtomicValueBase< T >::CompareAndSet_NoSync | ( | T | c, |
T | val | ||
) | [inline] |
Definition at line 609 of file OVR_Atomic.h.
bool OVR::AtomicValueBase< T >::CompareAndSet_Release | ( | T | c, |
T | val | ||
) | [inline] |
Definition at line 607 of file OVR_Atomic.h.
bool OVR::AtomicValueBase< T >::CompareAndSet_Sync | ( | T | c, |
T | val | ||
) | [inline] |
Definition at line 606 of file OVR_Atomic.h.
T OVR::AtomicValueBase< T >::Exchange_Acquire | ( | T | val | ) | [inline] |
Definition at line 604 of file OVR_Atomic.h.
T OVR::AtomicValueBase< T >::Exchange_NoSync | ( | T | val | ) | [inline] |
Definition at line 605 of file OVR_Atomic.h.
T OVR::AtomicValueBase< T >::Exchange_Release | ( | T | val | ) | [inline] |
Definition at line 603 of file OVR_Atomic.h.
T OVR::AtomicValueBase< T >::Exchange_Sync | ( | T | val | ) | [inline] |
Definition at line 602 of file OVR_Atomic.h.
T OVR::AtomicValueBase< T >::Load_Acquire | ( | ) | const [inline] |
Definition at line 612 of file OVR_Atomic.h.
OVR::AtomicValueBase< T >::operator T | ( | ) | const [inline] |
Reimplemented in OVR::AtomicPtr< T >.
Definition at line 599 of file OVR_Atomic.h.
void OVR::AtomicValueBase< T >::Store_Release | ( | T | val | ) | [inline] |
Definition at line 611 of file OVR_Atomic.h.
volatile T OVR::AtomicValueBase< T >::Value |
Definition at line 592 of file OVR_Atomic.h.