TAO_EC_ORB_Holder Class Reference

Utility for automatically destroying the ORB. More...

#include <EC_Lifetime_Utils.h>

Collaboration diagram for TAO_EC_ORB_Holder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_ORB_Holder (void)
 Constructor. No-op.
 ~TAO_EC_ORB_Holder (void)
 Destructor. If holding an ORB, destroy it.
void init (CORBA::ORB_var orb_var)

Private Member Functions

TAO_EC_ORB_Holderoperator= (const TAO_EC_ORB_Holder &rhs)
 Disallow.
 TAO_EC_ORB_Holder (const TAO_EC_ORB_Holder &rhs)
 Disallow.

Private Attributes

CORBA::ORB_var orb_
 ORB to be destroyed.

Detailed Description

Utility for automatically destroying the ORB.

Holds a reference to an ORB, and calls destroy() on it in the destructor.


Constructor & Destructor Documentation

ACE_INLINE TAO_EC_ORB_Holder::TAO_EC_ORB_Holder void   ) 
 

Constructor. No-op.

ACE_INLINE TAO_EC_ORB_Holder::~TAO_EC_ORB_Holder void   ) 
 

Destructor. If holding an ORB, destroy it.

TAO_EC_ORB_Holder::TAO_EC_ORB_Holder const TAO_EC_ORB_Holder rhs  )  [private]
 

Disallow.


Member Function Documentation

ACE_INLINE void TAO_EC_ORB_Holder::init CORBA::ORB_var  orb_var  ) 
 

Set the ORB to be destroyed in destructor to <orb_var>. If TAO_EC_ORB_Holder already held an orb prior to invocation of this method, that orb is NOT destroyed.

TAO_EC_ORB_Holder& TAO_EC_ORB_Holder::operator= const TAO_EC_ORB_Holder rhs  )  [private]
 

Disallow.


Member Data Documentation

CORBA::ORB_var TAO_EC_ORB_Holder::orb_ [private]
 

ORB to be destroyed.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:18:48 2005 for TAO_RTEvent by  doxygen 1.4.5