My Project
Public Attributes | Protected Member Functions | Friends | List of all members
ParaEngine::intrusive_ptr_thread_safe_base Class Reference

multi-threaded reference counted base class for boost::intrusive_ptr all boost::intrusive_ptr<T>, should derive from this class. More...

#include <intrusive_ptr.h>

Inheritance diagram for ParaEngine::intrusive_ptr_thread_safe_base:
ParaEngine::CServiceLogger ParaEngine::CWinRawMsg ParaEngine::ResourceRequest

Public Attributes

boost::detail::atomic_count m_ref_count
 

Protected Member Functions

 intrusive_ptr_thread_safe_base (const intrusive_ptr_thread_safe_base &)
 
intrusive_ptr_thread_safe_baseoperator= (const intrusive_ptr_thread_safe_base &)
 

Friends

void boost::intrusive_ptr_add_ref (intrusive_ptr_thread_safe_base *)
 
void boost::intrusive_ptr_release (intrusive_ptr_thread_safe_base *)
 

Detailed Description

multi-threaded reference counted base class for boost::intrusive_ptr all boost::intrusive_ptr<T>, should derive from this class.

this is a thead safe version. e.g. Class Foo : public ParaEngine::intrusive_ptr_thread_safe_base { members } so now Foo_ptr is the same as boost::shared_ptr typedef boost::intrusive_ptr<Foo> Foo_ptr;


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