BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Member Functions | List of all members
fc::task_specific_ptr< T > Class Template Reference

#include <thread_specific.hpp>

Public Member Functions

 task_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::task_specific_ptr< T >

Definition at line 49 of file thread_specific.hpp.

Constructor & Destructor Documentation

◆ task_specific_ptr()

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

Definition at line 54 of file thread_specific.hpp.

Member Function Documentation

◆ cleanup_function()

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

Definition at line 74 of file thread_specific.hpp.

◆ get()

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

Definition at line 58 of file thread_specific.hpp.

◆ operator bool()

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

Definition at line 70 of file thread_specific.hpp.

◆ operator*()

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

Definition at line 66 of file thread_specific.hpp.

◆ operator->()

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

Definition at line 62 of file thread_specific.hpp.

◆ reset()

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

Definition at line 78 of file thread_specific.hpp.


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