OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::AtomicScalar< T > Class Template Reference

#include <OgreAtomicScalar.h>

Public Member Functions

 AtomicScalar (const T &initial)
 
 AtomicScalar (const AtomicScalar< T > &cousin)
 
 AtomicScalar ()
 
bool cas (const T &old, const T &nu)
 
bool compare_exchange_strong (T &old, const T &nu)
 
get (void) const
 
load () const
 
operator++ (void)
 
operator++ (int)
 
operator+= (const T &add)
 
operator-- (void)
 
operator-- (int)
 
operator-= (const T &sub)
 
void operator= (const AtomicScalar< T > &cousin)
 
void set (const T &v)
 
void store (const T &v)
 

Constructor & Destructor Documentation

◆ AtomicScalar() [1/3]

template<class T>
Ogre::AtomicScalar< T >::AtomicScalar ( const T &  initial)
inline

◆ AtomicScalar() [2/3]

template<class T>
Ogre::AtomicScalar< T >::AtomicScalar ( const AtomicScalar< T > &  cousin)
inline

◆ AtomicScalar() [3/3]

template<class T>
Ogre::AtomicScalar< T >::AtomicScalar ( )
inline

Member Function Documentation

◆ operator=()

template<class T>
void Ogre::AtomicScalar< T >::operator= ( const AtomicScalar< T > &  cousin)
inline

◆ load()

◆ get()

template<class T>
T Ogre::AtomicScalar< T >::get ( void  ) const
inline

◆ store()

template<class T>
void Ogre::AtomicScalar< T >::store ( const T &  v)
inline

◆ set()

template<class T>
void Ogre::AtomicScalar< T >::set ( const T &  v)
inline

◆ cas()

template<class T>
bool Ogre::AtomicScalar< T >::cas ( const T &  old,
const T &  nu 
)
inline

◆ compare_exchange_strong()

template<class T>
bool Ogre::AtomicScalar< T >::compare_exchange_strong ( T &  old,
const T &  nu 
)
inline

◆ operator++() [1/2]

template<class T>
T Ogre::AtomicScalar< T >::operator++ ( void  )
inline

◆ operator--() [1/2]

template<class T>
T Ogre::AtomicScalar< T >::operator-- ( void  )
inline

◆ operator++() [2/2]

template<class T>
T Ogre::AtomicScalar< T >::operator++ ( int  )
inline

◆ operator--() [2/2]

template<class T>
T Ogre::AtomicScalar< T >::operator-- ( int  )
inline

◆ operator+=()

template<class T>
T Ogre::AtomicScalar< T >::operator+= ( const T &  add)
inline

◆ operator-=()

template<class T>
T Ogre::AtomicScalar< T >::operator-= ( const T &  sub)
inline

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