qpid::RefCountedChild Struct Reference

Reference-counted member of a reference-counted parent class. More...

#include <RefCounted.h>

Collaboration diagram for qpid::RefCountedChild:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void addRef () const
void release () const

Public Attributes

RefCountedparent

Protected Member Functions

 RefCountedChild (RefCounted &parent_)

Detailed Description

Reference-counted member of a reference-counted parent class.

Delegates reference counts to the parent so that the parent is deleted only when there are no references to the parent or any of its children. TODO: Delete this class if it's unused as I don't think this class makes much sense:


The documentation for this struct was generated from the following file:
Generated on Thu Apr 10 11:08:39 2008 for Qpid by  doxygen 1.4.7