OGRE  2.2.4
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)
 
get (void) 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)
 

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

◆ cas()

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

◆ get()

◆ 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+=()

template<class T>
T Ogre::AtomicScalar< T >::operator+= ( const T &  add)
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-=()

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

◆ operator=()

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

◆ set()

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

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