OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::ThreadLocalPtr< T > Class Template Reference

#include <OgreThreadDefinesSTD.h>

Public Member Functions

 ThreadLocalPtr ()
 
T * get () const
 
T & operator* () const
 
T * operator-> () const
 
T * release ()
 
void reset (T *a=0)
 

Public Attributes

const std::int64_t m_LocalID
 

Static Public Attributes

static thread_local std::int64_t m_VarCounter = 0
 

Constructor & Destructor Documentation

◆ ThreadLocalPtr()

template<typename T >
Ogre::ThreadLocalPtr< T >::ThreadLocalPtr ( )
inline

Member Function Documentation

◆ get()

template<typename T >
T* Ogre::ThreadLocalPtr< T >::get ( ) const
inline

◆ operator*()

template<typename T >
T& Ogre::ThreadLocalPtr< T >::operator* ( ) const
inline

◆ operator->()

template<typename T >
T* Ogre::ThreadLocalPtr< T >::operator-> ( ) const
inline

◆ release()

template<typename T >
T* Ogre::ThreadLocalPtr< T >::release ( )
inline

◆ reset()

template<typename T >
void Ogre::ThreadLocalPtr< T >::reset ( T *  a = 0)
inline

Member Data Documentation

◆ m_LocalID

template<typename T >
const std::int64_t Ogre::ThreadLocalPtr< T >::m_LocalID

◆ m_VarCounter

template<typename T >
thread_local std::int64_t Ogre::ThreadLocalPtr< T >::m_VarCounter = 0
static

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