Public Member Functions | Private Member Functions | Private Attributes | List of all members
boost::detail::sp_counted_base Class Referenceabstract

#include <sp_counted_base_std_atomic.hpp>

Inheritance diagram for boost::detail::sp_counted_base:
Inheritance graph
[legend]

Public Member Functions

void add_ref_copy ()
 
bool add_ref_lock ()
 
virtual void destroy ()
 
virtual void dispose ()=0
 
virtual void * get_deleter (sp_typeinfo const &ti)=0
 
virtual void * get_local_deleter (sp_typeinfo const &ti)=0
 
virtual void * get_untyped_deleter ()=0
 
void release ()
 
 sp_counted_base ()
 
long use_count () const
 
void weak_add_ref ()
 
void weak_release ()
 
virtual ~sp_counted_base ()
 

Private Member Functions

sp_counted_baseoperator= (sp_counted_base const &)
 
 sp_counted_base (sp_counted_base const &)
 

Private Attributes

std::atomic_int_least32_t use_count_
 
std::atomic_int_least32_t weak_count_
 

Detailed Description

Definition at line 64 of file sp_counted_base_std_atomic.hpp.

Constructor & Destructor Documentation

◆ sp_counted_base() [1/2]

boost::detail::sp_counted_base::sp_counted_base ( sp_counted_base const )
private

◆ sp_counted_base() [2/2]

boost::detail::sp_counted_base::sp_counted_base ( )
inline

Definition at line 76 of file sp_counted_base_std_atomic.hpp.

◆ ~sp_counted_base()

virtual boost::detail::sp_counted_base::~sp_counted_base ( )
inlinevirtual

Definition at line 80 of file sp_counted_base_std_atomic.hpp.

Member Function Documentation

◆ add_ref_copy()

void boost::detail::sp_counted_base::add_ref_copy ( )
inline

Definition at line 100 of file sp_counted_base_std_atomic.hpp.

◆ add_ref_lock()

bool boost::detail::sp_counted_base::add_ref_lock ( )
inline

Definition at line 105 of file sp_counted_base_std_atomic.hpp.

◆ destroy()

virtual void boost::detail::sp_counted_base::destroy ( )
inlinevirtual

◆ dispose()

virtual void boost::detail::sp_counted_base::dispose ( )
pure virtual

◆ get_deleter()

virtual void* boost::detail::sp_counted_base::get_deleter ( sp_typeinfo const ti)
pure virtual

◆ get_local_deleter()

virtual void* boost::detail::sp_counted_base::get_local_deleter ( sp_typeinfo const ti)
pure virtual

◆ get_untyped_deleter()

virtual void* boost::detail::sp_counted_base::get_untyped_deleter ( )
pure virtual

◆ operator=()

sp_counted_base& boost::detail::sp_counted_base::operator= ( sp_counted_base const )
private

◆ release()

void boost::detail::sp_counted_base::release ( )
inline

Definition at line 110 of file sp_counted_base_std_atomic.hpp.

◆ use_count()

long boost::detail::sp_counted_base::use_count ( ) const
inline

Definition at line 132 of file sp_counted_base_std_atomic.hpp.

◆ weak_add_ref()

void boost::detail::sp_counted_base::weak_add_ref ( )
inline

Definition at line 119 of file sp_counted_base_std_atomic.hpp.

◆ weak_release()

void boost::detail::sp_counted_base::weak_release ( )
inline

Definition at line 124 of file sp_counted_base_std_atomic.hpp.

Member Data Documentation

◆ use_count_

std::atomic_int_least32_t boost::detail::sp_counted_base::use_count_
private

Definition at line 71 of file sp_counted_base_std_atomic.hpp.

◆ weak_count_

std::atomic_int_least32_t boost::detail::sp_counted_base::weak_count_
private

Definition at line 72 of file sp_counted_base_std_atomic.hpp.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:14