#include <ORB_Table.h>
Public Member Functions | |
ORB_Core_Ref_Counter (void) | |
Constructor. | |
ORB_Core_Ref_Counter (::TAO_ORB_Core *core) | |
Constructor. | |
~ORB_Core_Ref_Counter (void) | |
Destructor. | |
ORB_Core_Ref_Counter (ORB_Core_Ref_Counter const &rhs) | |
Copy constructor. | |
void | operator= (ORB_Core_Ref_Counter const &rhs) |
Assignment operator. | |
::TAO_ORB_Core * | core (void) const |
ORB_Core pointer accessor. | |
Private Attributes | |
::TAO_ORB_Core * | core_ |
Definition at line 158 of file ORB_Table.h.
TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | void | ) |
TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | ::TAO_ORB_Core * | core | ) |
Constructor.
Definition at line 51 of file ORB_Table.inl.
: core_ (core) { // ACE_ASSERT (core != 0); // Note that the TAO_ORB_Core pointer should always be valid in this // constructor. // Claim ownership. (void) this->core_->_incr_refcnt (); }
TAO::ORB_Core_Ref_Counter::~ORB_Core_Ref_Counter | ( | void | ) |
Destructor.
Definition at line 64 of file ORB_Table.inl.
{ if (this->core_) (void) this->core_->_decr_refcnt (); // Should never throw. }
TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | TAO::ORB_Core_Ref_Counter const & | rhs | ) |
Copy constructor.
Definition at line 71 of file ORB_Table.inl.
: core_ (rhs.core_) { // Claim ownership. if (this->core_) (void) this->core_->_incr_refcnt (); }
::TAO_ORB_Core* TAO::ORB_Core_Ref_Counter::core | ( | void | ) | const [inline] |
void TAO::ORB_Core_Ref_Counter::operator= | ( | TAO::ORB_Core_Ref_Counter const & | rhs | ) |
Assignment operator.
Definition at line 81 of file ORB_Table.inl.
{ // Strongly exception safe. May not be strictly necessary, but // let's do things the right way, regardless. TAO::ORB_Core_Ref_Counter tmp (rhs); std::swap (this->core_, tmp.core_); }
::TAO_ORB_Core* TAO::ORB_Core_Ref_Counter::core_ [private] |
Definition at line 181 of file ORB_Table.h.