This is Unofficial EPICS BASE Doxygen Site
boost::detail::sp_counted_impl_pd< P, D > Class Template Reference

#include "sp_counted_impl.hpp"

+ Inheritance diagram for boost::detail::sp_counted_impl_pd< P, D >:
+ Collaboration diagram for boost::detail::sp_counted_impl_pd< P, D >:

Public Member Functions

 sp_counted_impl_pd (P p, D &d)
 
 sp_counted_impl_pd (P p)
 
virtual void dispose ()
 
virtual void * get_deleter (detail::sp_typeinfo const &ti)
 
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 P, class D>
class boost::detail::sp_counted_impl_pd< P, D >

Definition at line 127 of file sp_counted_impl.hpp.

Constructor & Destructor Documentation

template<class P, class D>
boost::detail::sp_counted_impl_pd< P, D >::sp_counted_impl_pd ( p,
D &  d 
)
inline

Definition at line 143 of file sp_counted_impl.hpp.

143  : ptr( p ), del( d )
144  {
145  }
template<class P, class D>
boost::detail::sp_counted_impl_pd< P, D >::sp_counted_impl_pd ( p)
inline

Definition at line 147 of file sp_counted_impl.hpp.

147  : ptr( p ), del()
148  {
149  }

Member Function Documentation

template<class P, class D>
virtual void boost::detail::sp_counted_impl_pd< P, D >::dispose ( )
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 151 of file sp_counted_impl.hpp.

152  {
153  del( ptr );
154  }
template<class P, class D>
virtual void* boost::detail::sp_counted_impl_pd< P, D >::get_deleter ( detail::sp_typeinfo const &  ti)
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 156 of file sp_counted_impl.hpp.

157  {
158  return ti == BOOST_SP_TYPEID(D)? &reinterpret_cast<char&>( del ): 0;
159  }
#define BOOST_SP_TYPEID(T)
template<class P, class D>
virtual void* boost::detail::sp_counted_impl_pd< P, D >::get_untyped_deleter ( )
inlinevirtual

Implements boost::detail::sp_counted_base.

Definition at line 161 of file sp_counted_impl.hpp.

162  {
163  return &reinterpret_cast<char&>( del );
164  }

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