#include <ORB_Table.h>
Collaboration diagram for TAO::ORB_Core_Ref_Counter:
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_ |
|
Constructor.
Definition at line 46 of file ORB_Table.inl.
00047 : core_ (0) 00048 { 00049 } |
|
Constructor.
Definition at line 52 of file ORB_Table.inl. References TAO_ORB_Core::_incr_refcnt(), and core_.
00053 : core_ (core) 00054 { 00055 // ACE_ASSERT (core != 0); 00056 00057 // Note that the TAO_ORB_Core pointer should always be valid in this 00058 // constructor. 00059 00060 // Claim ownership. 00061 (void) this->core_->_incr_refcnt (); 00062 } |
|
Destructor.
Definition at line 65 of file ORB_Table.inl. References TAO_ORB_Core::_decr_refcnt(), and core_.
00066 { 00067 if (this->core_) 00068 (void) this->core_->_decr_refcnt (); // Should never throw. 00069 } |
|
Copy constructor.
Definition at line 72 of file ORB_Table.inl. References TAO_ORB_Core::_incr_refcnt(), and core_.
00074 : core_ (rhs.core_) 00075 { 00076 // Claim ownership. 00077 if (this->core_) 00078 (void) this->core_->_incr_refcnt (); 00079 } |
|
ORB_Core pointer accessor.
Definition at line 188 of file ORB_Table.h. References core_. Referenced by TAO::ORB_Table::unbind().
00188 { return this->core_; } |
|
Assignment operator.
Definition at line 82 of file ORB_Table.inl. References core_.
00083 { 00084 // Strongly exception safe. May not be strictly necessary, but 00085 // let's do things the right way, regardless. 00086 TAO::ORB_Core_Ref_Counter tmp (rhs); 00087 std::swap (this->core_, tmp.core_); 00088 } |
|
Definition at line 192 of file ORB_Table.h. Referenced by core(), operator=(), ORB_Core_Ref_Counter(), and ~ORB_Core_Ref_Counter(). |