GATE
Loading...
Searching...
No Matches
AtomicPtr< T > Class Template Reference

< Template class for typed atomic pointer More...

#include <atomics.hpp>

Public Member Functions

 AtomicPtr (T *init=NULL) noexcept
 < Initializes atomic pointer
 
T * get () const noexcept
 < Returns current value of atomic pointer
 
T * set (T *newvalue) noexcept
 < Updates value of atomic pointer
 
T * changeIf (T *comparand, T *newvalue) noexcept
 < updates atomic pointer to newvalue only if its original value equals comparand, returns original atomic pointer value
 
T * operator-> () noexcept
 < Access member of type accessed by atomic pointer
 
T & operator* () noexcept
 < Dereferences atomic pointer
 

Detailed Description

template<class T>
class gate::AtomicPtr< T >

< Template class for typed atomic pointer


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