This is Unofficial EPICS BASE Doxygen Site
boost::detail::sp_counted_impl_p< X > Class Template Reference

#include "sp_counted_impl.hpp"

+ Inheritance diagram for boost::detail::sp_counted_impl_p< X >:
+ Collaboration diagram for boost::detail::sp_counted_impl_p< X >:

Public Member Functions

 sp_counted_impl_p (X *px)
 
virtual void dispose ()
 
virtual void * get_deleter (detail::sp_typeinfo const &)
 
virtual void * get_untyped_deleter ()
 
- Public Member Functions inherited from boost::detail::sp_counted_base
 sp_counted_base ()
 
virtual ~sp_counted_base ()
 
virtual void destroy ()
 
void add_ref_copy ()
 
bool add_ref_lock ()
 
void release ()
 
void weak_add_ref ()
 
void weak_release ()
 
long use_count () const
 
 sp_counted_base ()
 
virtual ~sp_counted_base ()
 
virtual void destroy ()
 
void add_ref_copy ()
 
bool add_ref_lock ()
 
void release ()
 
void weak_add_ref ()
 
void weak_release ()
 
long use_count () const
 

Detailed Description

template<class X>
class boost::detail::sp_counted_impl_p< X >

Definition at line 53 of file sp_counted_impl.hpp.

Constructor & Destructor Documentation

template<class X >
boost::detail::sp_counted_impl_p< X >::sp_counted_impl_p ( X *  px)
inlineexplicit

Definition at line 66 of file sp_counted_impl.hpp.

66  : px_( px )
67  {
68 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
69  boost::sp_scalar_constructor_hook( px, sizeof(X), this );
70 #endif
71  }

Member Function Documentation

template<class X >
virtual void boost::detail::sp_counted_impl_p< X >::dispose ( )
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 73 of file sp_counted_impl.hpp.

74  {
75 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
76  boost::sp_scalar_destructor_hook( px_, sizeof(X), this );
77 #endif
78  boost::checked_delete( px_ );
79  }
void checked_delete(T *x)
template<class X >
virtual void* boost::detail::sp_counted_impl_p< X >::get_deleter ( detail::sp_typeinfo const &  )
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 81 of file sp_counted_impl.hpp.

82  {
83  return 0;
84  }
template<class X >
virtual void* boost::detail::sp_counted_impl_p< X >::get_untyped_deleter ( )
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 86 of file sp_counted_impl.hpp.

87  {
88  return 0;
89  }

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