OGRE  1.9
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 397 of file OgreAtomicScalar.h.

Constructor & Destructor Documentation

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

Definition at line 401 of file OgreAtomicScalar.h.

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

Definition at line 405 of file OgreAtomicScalar.h.

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

Definition at line 409 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 430 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 438 of file OgreAtomicScalar.h.

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

Definition at line 450 of file OgreAtomicScalar.h.

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

Definition at line 462 of file OgreAtomicScalar.h.

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

Definition at line 444 of file OgreAtomicScalar.h.

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

Definition at line 456 of file OgreAtomicScalar.h.

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

Definition at line 469 of file OgreAtomicScalar.h.

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

Definition at line 412 of file OgreAtomicScalar.h.

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

Definition at line 425 of file OgreAtomicScalar.h.

Member Data Documentation

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

Definition at line 478 of file OgreAtomicScalar.h.


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