OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
 

Protected Attributes

volatile T mField
 
 OGRE_AUTO_MUTEX
 

Detailed Description

template<class T>
class Ogre::AtomicScalar< T >

Definition at line 404 of file OgreAtomicScalar.h.

Constructor & Destructor Documentation

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

Definition at line 408 of file OgreAtomicScalar.h.

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

Definition at line 412 of file OgreAtomicScalar.h.

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

Definition at line 416 of file OgreAtomicScalar.h.

Member Function Documentation

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

Definition at line 437 of file OgreAtomicScalar.h.

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

Definition at line 445 of file OgreAtomicScalar.h.

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

Definition at line 457 of file OgreAtomicScalar.h.

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

Definition at line 469 of file OgreAtomicScalar.h.

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

Definition at line 451 of file OgreAtomicScalar.h.

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

Definition at line 463 of file OgreAtomicScalar.h.

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

Definition at line 476 of file OgreAtomicScalar.h.

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

Definition at line 419 of file OgreAtomicScalar.h.

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

Definition at line 432 of file OgreAtomicScalar.h.

Member Data Documentation

template<class T>
Ogre::AtomicScalar< T >::OGRE_AUTO_MUTEX
protected

Definition at line 485 of file OgreAtomicScalar.h.


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