OGRE-Next: Ogre::ThreadLocalPtr< T > Class Template Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
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 std::int64_t | m_VarCounter

## Constructor & Destructor Documentation

## ◆ ThreadLocalPtr()

template<typename T>

Ogre::ThreadLocalPtr< T >::ThreadLocalPtr | ( |  | ) |
| inline

References m_LocalID, and m_VarCounter.

## 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

References m_LocalID.

## Member Data Documentation

## ◆ m_LocalID

template<typename T>

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

Referenced by ThreadLocalPtr(), and reset().

## ◆ m_VarCounter

template<typename T>

std::int64_t Ogre::ThreadLocalPtr< T >::m_VarCounter
| thread_localstatic

Referenced by ThreadLocalPtr().

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

- OgreThreadDefinesSTD.h