OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
wrapper around thread_local std::unique_ptr<T>
that can be used as a class member
More...
#include <OgreThreadDefinesSTD.h>
Public Member Functions | |
ThreadLocalPtr () | |
T * | get () const |
T & | operator* () const |
T * | operator-> () const |
void | reset (T *a=0) |
Public Attributes | |
const std::size_t | m_LocalID |
Static Public Attributes | |
static thread_local std::size_t | m_VarCounter = 0 |
wrapper around thread_local std::unique_ptr<T>
that can be used as a class member
|
inline |
|
inline |
References Ogre::ThreadLocalPtr< T >::m_LocalID.
|
inline |
|
inline |
|
inline |
|
static |
const std::size_t Ogre::ThreadLocalPtr< T >::m_LocalID |
Referenced by Ogre::ThreadLocalPtr< T >::reset().