IBR-DTNSuite  0.8
refcnt_ptr< T >::Holder Class Reference

#include <refcnt_ptr.h>

Collaboration diagram for refcnt_ptr< T >::Holder:

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 28 of file refcnt_ptr.h.


Constructor & Destructor Documentation

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

Definition at line 31 of file refcnt_ptr.h.

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

Definition at line 32 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 35 of file refcnt_ptr.h.

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

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

Definition at line 36 of file refcnt_ptr.h.

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


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