Rosetta  2019.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
utility::thread::SharedThreadLocalData< T > Class Template Reference

#include <shared_thread_local_data.hh>

Public Member Functions

Tget ()
 

Static Private Member Functions

static
utility::pointer::shared_ptr
< T
get_instance (std::thread::id)
 

Private Attributes

std::thread::id thread
 
utility::pointer::shared_ptr< Tdata
 

Detailed Description

template<typename T>
class utility::thread::SharedThreadLocalData< T >

This template class is intended to provide access to instance of T that is unique to your thread Notes:

Member Function Documentation

template<typename T >
T & utility::thread::SharedThreadLocalData< T >::get ( )
template<typename T >
utility::pointer::shared_ptr< T > utility::thread::SharedThreadLocalData< T >::get_instance ( std::thread::id  thread)
staticprivate

References test.T007_TracerIO::T.

Member Data Documentation

template<typename T >
utility::pointer::shared_ptr<T> utility::thread::SharedThreadLocalData< T >::data
private
template<typename T >
std::thread::id utility::thread::SharedThreadLocalData< T >::thread
private

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