JUCE
Public Member Functions | Static Public Member Functions | List of all members
Atomic< void * > Class Template Reference

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
 

Static Public Member Functions

static void memoryBarrier () noexcept
 

Constructor & Destructor Documentation

◆ Atomic() [1/3]

Atomic< void * >::Atomic ( )
noexcept

◆ Atomic() [2/3]

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

◆ Atomic() [3/3]

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

Member Function Documentation

◆ get()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ set()

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

◆ exchange()

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

◆ compareAndSetBool()

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

◆ compareAndSetValue()

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

◆ memoryBarrier()

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

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