Public Member Functions | Protected Attributes | List of all members
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)

Definition at line 401 of file OgreAtomicScalar.h.

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

Definition at line 405 of file OgreAtomicScalar.h.

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

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 
)

Definition at line 430 of file OgreAtomicScalar.h.

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

Definition at line 438 of file OgreAtomicScalar.h.

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

Definition at line 450 of file OgreAtomicScalar.h.

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

Definition at line 462 of file OgreAtomicScalar.h.

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

Definition at line 444 of file OgreAtomicScalar.h.

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

Definition at line 456 of file OgreAtomicScalar.h.

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

Definition at line 469 of file OgreAtomicScalar.h.

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

Definition at line 412 of file OgreAtomicScalar.h.

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

Definition at line 425 of file OgreAtomicScalar.h.

Member Data Documentation

template<class T>
volatile T Ogre::AtomicScalar< T >::mField
protected
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:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Mar 18 2014 19:15:29