#include <OgreAtomicWrappers.h>
Public Member Functions | |
AtomicObject (const T &initial) | |
AtomicObject (const AtomicObject< T > &cousin) | |
AtomicObject () | |
void | operator= (const AtomicObject< T > &cousin) |
T | get (void) const |
void | set (const T &v) |
bool | cas (const T &old, const T &nu) |
T | operator++ (void) |
T | operator++ (int) |
T | operator-- (int) |
T | operator+= (const T &add) |
Protected Attributes | |
OGRE_AUTO_MUTEX volatile T | mField |
Definition at line 43 of file OgreAtomicWrappers.h.
Ogre::AtomicObject< T >::AtomicObject | ( | const T & | initial | ) |
Definition at line 47 of file OgreAtomicWrappers.h.
Ogre::AtomicObject< T >::AtomicObject | ( | const AtomicObject< T > & | cousin | ) |
Definition at line 51 of file OgreAtomicWrappers.h.
Ogre::AtomicObject< T >::AtomicObject | ( | ) |
Definition at line 55 of file OgreAtomicWrappers.h.
bool Ogre::AtomicObject< T >::cas | ( | const T & | old, | |
const T & | nu | |||
) |
Definition at line 75 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
T Ogre::AtomicObject< T >::get | ( | void | ) | const |
Definition at line 63 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
Referenced by Ogre::AtomicObject< T >::operator=().
T Ogre::AtomicObject< T >::operator++ | ( | int | ) |
Definition at line 89 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
T Ogre::AtomicObject< T >::operator++ | ( | void | ) |
Definition at line 83 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
T Ogre::AtomicObject< T >::operator+= | ( | const T & | add | ) |
Definition at line 101 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
T Ogre::AtomicObject< T >::operator-- | ( | int | ) |
Definition at line 95 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
void Ogre::AtomicObject< T >::operator= | ( | const AtomicObject< T > & | cousin | ) |
Definition at line 58 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::get().
void Ogre::AtomicObject< T >::set | ( | const T & | v | ) |
Definition at line 69 of file OgreAtomicWrappers.h.
References Ogre::AtomicObject< T >::mField, and OGRE_LOCK_AUTO_MUTEX.
OGRE_AUTO_MUTEX volatile T Ogre::AtomicObject< T >::mField [protected] |
Definition at line 112 of file OgreAtomicWrappers.h.
Referenced by Ogre::AtomicObject< T >::cas(), Ogre::AtomicObject< T >::get(), Ogre::AtomicObject< T >::operator++(), Ogre::AtomicObject< T >::operator+=(), Ogre::AtomicObject< T >::operator--(), and Ogre::AtomicObject< T >::set().
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:07 2012