BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | List of all members
fc::thread_specific_ptr< T > Class Template Reference

#include <thread_specific.hpp>

Public Member Functions

 thread_specific_ptr ()
 
T * get () const
 
T * operator-> () const
 
T & operator* () const
 
 operator bool () const
 
void reset (T *new_value=0)
 

Static Public Member Functions

static void cleanup_function (void *obj)
 

Detailed Description

template<typename T>
class fc::thread_specific_ptr< T >

Definition at line 13 of file thread_specific.hpp.

Constructor & Destructor Documentation

template<typename T >
fc::thread_specific_ptr< T >::thread_specific_ptr ( )
inline

Definition at line 18 of file thread_specific.hpp.

Member Function Documentation

template<typename T >
static void fc::thread_specific_ptr< T >::cleanup_function ( void *  obj)
inlinestatic

Definition at line 38 of file thread_specific.hpp.

template<typename T >
T* fc::thread_specific_ptr< T >::get ( ) const
inline

Definition at line 22 of file thread_specific.hpp.

template<typename T >
fc::thread_specific_ptr< T >::operator bool ( ) const
inline

Definition at line 34 of file thread_specific.hpp.

template<typename T >
T& fc::thread_specific_ptr< T >::operator* ( ) const
inline

Definition at line 30 of file thread_specific.hpp.

template<typename T >
T* fc::thread_specific_ptr< T >::operator-> ( ) const
inline

Definition at line 26 of file thread_specific.hpp.

template<typename T >
void fc::thread_specific_ptr< T >::reset ( T *  new_value = 0)
inline

Definition at line 42 of file thread_specific.hpp.


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