TAO_RTEvent
2.4.0
|
Utility for automatically destroying the ORB. More...
#include <EC_Lifetime_Utils.h>
Public Member Functions | |
TAO_EC_ORB_Holder (void) | |
Constructor. No-op. More... | |
~TAO_EC_ORB_Holder (void) | |
Destructor. If holding an ORB, destroy it. More... | |
void | init (CORBA::ORB_var orb_var) |
Private Member Functions | |
TAO_EC_ORB_Holder & | operator= (const TAO_EC_ORB_Holder &rhs) |
Disallow. More... | |
TAO_EC_ORB_Holder (const TAO_EC_ORB_Holder &rhs) | |
Disallow. More... | |
Private Attributes | |
CORBA::ORB_var | orb_ |
ORB to be destroyed. More... | |
Utility for automatically destroying the ORB.
Holds a reference to an ORB, and calls destroy() on it in the destructor.
TAO_EC_ORB_Holder::TAO_EC_ORB_Holder | ( | void | ) |
Constructor. No-op.
TAO_EC_ORB_Holder::~TAO_EC_ORB_Holder | ( | void | ) |
Destructor. If holding an ORB, destroy it.
|
private |
Disallow.
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.
|
private |
Disallow.
|
private |
ORB to be destroyed.