OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::AtomicObject< T > Class Template Reference

#include <OgreAtomicObject.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ AtomicObject() [1/3]

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

◆ AtomicObject() [2/3]

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

◆ AtomicObject() [3/3]

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

Member Function Documentation

◆ cas()

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

References OGRE_LOCK_AUTO_MUTEX.

◆ get()

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

◆ operator++() [1/2]

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

References OGRE_LOCK_AUTO_MUTEX.

◆ operator++() [2/2]

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

References OGRE_LOCK_AUTO_MUTEX.

◆ operator+=()

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

References OGRE_LOCK_AUTO_MUTEX.

◆ operator--()

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

References OGRE_LOCK_AUTO_MUTEX.

◆ operator-=()

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

References OGRE_LOCK_AUTO_MUTEX.

◆ operator=()

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

◆ set()

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

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