TAO_ORB_Core_Auto_Ptr Class Reference

Define a TAO_ORB_Core auto_ptr class. More...

#include <ORB_Core_Auto_Ptr.h>

Collaboration diagram for TAO_ORB_Core_Auto_Ptr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_ORB_Core_Auto_Ptr (TAO_ORB_Core *p=0)
 Initialization and termination methods.
 TAO_ORB_Core_Auto_Ptr (TAO_ORB_Core_Auto_Ptr &ap)
 Initialization and termination methods.
TAO_ORB_Core_Auto_Ptroperator= (TAO_ORB_Core_Auto_Ptr &rhs)
 Initialization and termination methods.
 ~TAO_ORB_Core_Auto_Ptr (void)
 Initialization and termination methods.
TAO_ORB_Coreoperator * () const
 Accessor methods.
TAO_ORB_Coreget (void) const
 Accessor methods.
TAO_ORB_Corerelease (void)
 Accessor methods.
void reset (TAO_ORB_Core *p=0)
 Accessor methods.
TAO_ORB_Coreoperator-> () const
 Accessor methods.

Protected Attributes

TAO_ORB_Corep_

Detailed Description

Define a TAO_ORB_Core auto_ptr class.

This class is used as an aid to make ORB initialization exception safe. It ensures that the ORB core is deallocated if an exception is thrown.

Todo:
TAO_ORB_Core_Auto_Ptr should be renamed to TAO_ORB_Core_var since the ORB Core is reference counted.


Constructor & Destructor Documentation

ACE_INLINE TAO_ORB_Core_Auto_Ptr::TAO_ORB_Core_Auto_Ptr TAO_ORB_Core p = 0  ) 
 

Initialization and termination methods.

ACE_INLINE TAO_ORB_Core_Auto_Ptr::TAO_ORB_Core_Auto_Ptr TAO_ORB_Core_Auto_Ptr ap  ) 
 

Initialization and termination methods.

TAO_ORB_Core_Auto_Ptr::~TAO_ORB_Core_Auto_Ptr void   ) 
 

Initialization and termination methods.


Member Function Documentation

ACE_INLINE TAO_ORB_Core * TAO_ORB_Core_Auto_Ptr::get void   )  const
 

Accessor methods.

ACE_INLINE TAO_ORB_Core & TAO_ORB_Core_Auto_Ptr::operator *  )  const
 

Accessor methods.

ACE_INLINE TAO_ORB_Core * TAO_ORB_Core_Auto_Ptr::operator->  )  const
 

Accessor methods.

ACE_INLINE TAO_ORB_Core_Auto_Ptr & TAO_ORB_Core_Auto_Ptr::operator= TAO_ORB_Core_Auto_Ptr rhs  ) 
 

Initialization and termination methods.

ACE_INLINE TAO_ORB_Core * TAO_ORB_Core_Auto_Ptr::release void   ) 
 

Accessor methods.

void TAO_ORB_Core_Auto_Ptr::reset TAO_ORB_Core p = 0  ) 
 

Accessor methods.


Member Data Documentation

TAO_ORB_Core* TAO_ORB_Core_Auto_Ptr::p_ [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:03:35 2005 for TAO by  doxygen 1.4.5