Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Transport_Refcount_Guard Class Reference

Helper class that increments the refount on construction and decrements the refcount on destruction. More...

#include <Transport.h>

Collaboration diagram for TAO_Transport_Refcount_Guard:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_Transport_Refcount_Guard (TAO_Transport *)
 ~TAO_Transport_Refcount_Guard (void)

Private Attributes

TAO_Transporttr_

Detailed Description

Helper class that increments the refount on construction and decrements the refcount on destruction.

Definition at line 1022 of file Transport.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_Transport_Refcount_Guard::TAO_Transport_Refcount_Guard TAO_Transport  
 

Definition at line 171 of file Transport.inl.

00172   :tr_ (TAO_Transport::_duplicate (t))
00173 {
00174 }

ACE_INLINE TAO_Transport_Refcount_Guard::~TAO_Transport_Refcount_Guard void   
 

Definition at line 177 of file Transport.inl.

References TAO_Transport::release.

00178 {
00179   TAO_Transport::release (this->tr_);
00180 }


Member Data Documentation

TAO_Transport* TAO_Transport_Refcount_Guard::tr_ [private]
 

Definition at line 1028 of file Transport.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:44:48 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002