JUCE
Public Member Functions | Static Public Member Functions | List of all members
juce::Atomic< void * > Class Template Reference
Inheritance diagram for juce::Atomic< void * >:

Public Member Functions

 Atomic () noexcept
 
 Atomic (void *const initialValue) noexcept
 
 Atomic (const Atomic< void *> &other) noexcept
 
void * get () const noexcept
 
Atomicoperator= (const Atomic &other) noexcept
 
Atomicoperator= (void *const newValue) noexcept
 
void set (void *newValue) noexcept
 
void * exchange (void *v) noexcept
 
bool compareAndSetBool (void *newValue, void *valueToCompare) noexcept
 
void * compareAndSetValue (void *newValue, void *valueToCompare) noexcept
 
- Public Member Functions inherited from juce::AtomicBase< void *>
 AtomicBase () noexcept
 
 AtomicBase (const void * v) noexcept
 
 AtomicBase (const AtomicBase &other) noexcept
 
void * get () const noexcept
 
AtomicBaseoperator= (const AtomicBase< void * > &other) noexcept
 
AtomicBaseoperator= (const void * newValue) noexcept
 
void set (void * newValue) noexcept
 
void * exchange (void *) noexcept
 
bool compareAndSetBool (void *, void *) noexcept
 
void * compareAndSetValue (void *, void *) noexcept
 

Static Public Member Functions

static void memoryBarrier () noexcept
 
- Static Public Member Functions inherited from juce::AtomicBase< void *>
static void memoryBarrier () noexcept
 

Additional Inherited Members

- Public Types inherited from juce::AtomicBase< void *>
typedef AtomicHelpers::DiffTypeHelper< void * >::void * DiffType
 
- Public Attributes inherited from juce::AtomicBase< void *>
volatile void * value
 The raw value that this class operates on. More...
 
- Protected Member Functions inherited from juce::AtomicBase< void *>
void * operator++ (int)
 
void * operator-- (int)
 
ValueType negateValue (ValueType n) noexcept
 This templated negate function will negate pointers as well as integers. More...
 
PointerType * negateValue (PointerType *n) noexcept
 This templated negate function will negate pointers as well as integers. More...
 
- Static Protected Member Functions inherited from juce::AtomicBase< void *>
static Dest castTo (Source value) noexcept
 
static void * castFrom32Bit (int32 value) noexcept
 
static void * castFrom64Bit (int64 value) noexcept
 
static int32 castTo32Bit (void * value) noexcept
 
static int64 castTo64Bit (void * value) noexcept
 

Constructor & Destructor Documentation

◆ Atomic() [1/3]

juce::Atomic< void * >::Atomic ( )
noexcept

◆ Atomic() [2/3]

juce::Atomic< void * >::Atomic ( void *const  initialValue)
explicitnoexcept

◆ Atomic() [3/3]

juce::Atomic< void * >::Atomic ( const Atomic< void *> &  other)
noexcept

Member Function Documentation

◆ get()

void* juce::Atomic< void * >::get ( ) const
noexcept

◆ operator=() [1/2]

Atomic& juce::Atomic< void * >::operator= ( const Atomic< void * > &  other)
noexcept

◆ operator=() [2/2]

Atomic& juce::Atomic< void * >::operator= ( void *const  newValue)
noexcept

◆ set()

void juce::Atomic< void * >::set ( void *  newValue)
noexcept

◆ exchange()

void* juce::Atomic< void * >::exchange ( void *  v)
noexcept

◆ compareAndSetBool()

bool juce::Atomic< void * >::compareAndSetBool ( void *  newValue,
void *  valueToCompare 
)
noexcept

◆ compareAndSetValue()

void* juce::Atomic< void * >::compareAndSetValue ( void *  newValue,
void *  valueToCompare 
)
noexcept

◆ memoryBarrier()

static void juce::Atomic< void * >::memoryBarrier ( )
staticnoexcept

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