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

#include <refcnt_ptr.h>

Collaboration diagram for refcnt_ptr< T >::Holder:
Collaboration graph

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

Constructor & Destructor Documentation

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

Definition at line 36 of file refcnt_ptr.h.

template<class T>
virtual refcnt_ptr< T >::Holder::~Holder ( )
inlinevirtual

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

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

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

Definition at line 41 of file refcnt_ptr.h.

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


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