HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_IntrusivePtr.h File Reference
#include <SYS/SYS_AtomicInt.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Types.h>
#include <memory>
#include <hboost/intrusive_ptr.hpp>
+ Include dependency graph for UT_IntrusivePtr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_IntrusivePtr< T >
 Wrapper around hboost::intrusive_ptr. More...
 
struct  UT_IntrusiveThreadSafeCounterPolicy
 Thread-safe policy for UT_IntrusiveRefCounter. More...
 
struct  UT_IntrusiveNonThreadSafeCounterPolicy
 NOT Thread-safe policy for UT_IntrusiveRefCounter. More...
 
class  UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT >
 A reference counter base class for use with UT_IntrusivePtr. More...
 
class  UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT >
 A reference counter base class for use with UT_IntrusivePtr. More...
 
struct  UT::DefaultClearer< T >
 
struct  UT::DefaultClearer< UT_IntrusivePtr< T > >
 

Namespaces

 UT
 

Functions

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_add_ref (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_release (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_add_ref (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p, typename CounterPolicyT::pod_type refs_to_add)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_release (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p, typename CounterPolicyT::pod_type refs_to_remove)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_add_ref (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_release (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_add_ref (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p, typename CounterPolicyT::pod_type refs_to_add)
 
template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_release (const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *p, typename CounterPolicyT::pod_type refs_to_remove)
 

Function Documentation

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_add_ref ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p)

Definition at line 239 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_add_ref ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p,
typename CounterPolicyT::pod_type  refs_to_add 
)

Definition at line 258 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_add_ref ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p)

Definition at line 239 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_add_ref ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p,
typename CounterPolicyT::pod_type  refs_to_add 
)

Definition at line 258 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_release ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p)

Definition at line 246 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
void intrusive_ptr_release ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p,
typename CounterPolicyT::pod_type  refs_to_remove 
)

Definition at line 266 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_release ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p)

Definition at line 246 of file UT_IntrusivePtr.h.

template<typename DerivedT , typename Deleter , typename CounterPolicyT >
SYS_FORCE_INLINE void intrusive_ptr_release ( const UT_IntrusiveRefCounter< DerivedT, Deleter, CounterPolicyT > *  p,
typename CounterPolicyT::pod_type  refs_to_remove 
)

Definition at line 266 of file UT_IntrusivePtr.h.