TAO_Auto_Reference< T > Class Template Reference

TAO_Auto_Reference acts as a "smart pointer" for reference-countable instances. More...

#include <Connection_Handler.h>

Inheritance diagram for TAO_Auto_Reference< T >:

Inheritance graph
[legend]
Collaboration diagram for TAO_Auto_Reference< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_Auto_Reference (T &r)
 ~TAO_Auto_Reference ()

Private Attributes

T & ref_


Detailed Description

template<class T>
class TAO_Auto_Reference< T >

TAO_Auto_Reference acts as a "smart pointer" for reference-countable instances.

It increments the refrence count in the constructor and decrements it in the destructor. The only requiement for the template parameter is to be a class that provides add_reference() and remove_reference().


Constructor & Destructor Documentation

template<class T >
TAO_Auto_Reference< T >::TAO_Auto_Reference ( T &  r  )  [inline]

template<class T >
TAO_Auto_Reference< T >::~TAO_Auto_Reference (  )  [inline]


Member Data Documentation

template<class T >
T& TAO_Auto_Reference< T >::ref_ [private]


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

Generated on Mon Jul 13 16:25:36 2009 for TAO by  doxygen 1.5.8