Public Member Functions | Public Attributes

refcnt_ptr< T >::Holder Class Reference

#include <refcnt_ptr.h>

Collaboration diagram for refcnt_ptr< T >::Holder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Holder (T *ptr)
virtual ~Holder ()

Public Attributes

T * ptr_
unsigned count_
ibrcommon::Mutex lock

Detailed Description

template<class T>
class refcnt_ptr< T >::Holder

Definition at line 12 of file refcnt_ptr.h.


Constructor & Destructor Documentation

template<class T>
refcnt_ptr< T >::Holder::Holder ( T *  ptr  )  [inline]

Definition at line 15 of file refcnt_ptr.h.

template<class T>
virtual refcnt_ptr< T >::Holder::~Holder (  )  [inline, virtual]

Definition at line 16 of file refcnt_ptr.h.

References refcnt_ptr< T >::Holder::ptr_.


Member Data Documentation

template<class T>
unsigned refcnt_ptr< T >::Holder::count_

Definition at line 19 of file refcnt_ptr.h.

Referenced by refcnt_ptr< T >::operator=(), and refcnt_ptr< T >::refcnt_ptr().

template<class T>
ibrcommon::Mutex refcnt_ptr< T >::Holder::lock

Definition at line 20 of file refcnt_ptr.h.

Referenced by refcnt_ptr< T >::operator=(), and refcnt_ptr< T >::refcnt_ptr().

template<class T>
T* refcnt_ptr< T >::Holder::ptr_

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