#include <cThreadLocal.h>
template<class TYPE_INST, class TYPE_ARG>
class GrayLib::cThreadLocalType< TYPE_INST, TYPE_ARG >
base class for cThreadLocalTypeNew and cThreadLocalTypeSmart. ASSUME TYPE_INST is based on cThreadLocalInst and TYPE_ARG is a pointer to heap.
◆ cThreadLocalType()
template<class TYPE_INST , class TYPE_ARG >
Register myself so i get a cleanup callback when a thread is destroyed.
◆ ~cThreadLocalType()
template<class TYPE_INST , class TYPE_ARG >
◆ GetData()
template<class TYPE_INST , class TYPE_ARG >
Get info stored for the current thread. Do not auto create
◆ GetDataForThreadId()
template<class TYPE_INST , class TYPE_ARG >
Find data for a thread other than the current.
◆ GetSize()
template<class TYPE_INST , class TYPE_ARG >
◆ IsEmpty()
template<class TYPE_INST , class TYPE_ARG >
◆ OnThreadClose()
template<class TYPE_INST , class TYPE_ARG >
Destroys the data when a thread is destroyed. Allow the destructor to be called outside the current Thread.
◆ PutData()
template<class TYPE_INST , class TYPE_ARG >
Do this each time a thread starts up.
◆ RemoveAll()
template<class TYPE_INST , class TYPE_ARG >
prematurely clear all use of this data type. danger, threads might still be using them?
◆ m_a
template<class TYPE_INST , class TYPE_ARG >
◆ m_Lock
template<class TYPE_INST , class TYPE_ARG >
The documentation for this class was generated from the following file: