#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 52 of file ORB_Table.inl.
00053 : core_ (0) 00054 { 00055 } |
|
Constructor.
Definition at line 58 of file ORB_Table.inl. References TAO_ORB_Core::_incr_refcnt(), and core_.
00059 : core_ (core) 00060 { 00061 // ACE_ASSERT (core != 0); 00062 00063 // Note that the TAO_ORB_Core pointer should always be valid in this 00064 // constructor. 00065 00066 // Claim ownership. 00067 (void) this->core_->_incr_refcnt (); 00068 } |
|
Destructor.
Definition at line 71 of file ORB_Table.inl. References TAO_ORB_Core::_decr_refcnt(), and core_.
00072 { 00073 if (this->core_) 00074 (void) this->core_->_decr_refcnt (); // Should never throw. 00075 } |
|
Copy constructor.
Definition at line 78 of file ORB_Table.inl. References TAO_ORB_Core::_incr_refcnt(), and core_.
00080 : core_ (rhs.core_) 00081 { 00082 // Claim ownership. 00083 if (this->core_) 00084 (void) this->core_->_incr_refcnt (); 00085 } |
|
ORB_Core pointer accessor.
Definition at line 190 of file ORB_Table.h. References core_. Referenced by TAO::ORB_Table::unbind().
00190 { return this->core_; } |
|
Assignment operator.
Definition at line 88 of file ORB_Table.inl. References core_.
00089 { 00090 // Strongly exception safe. May not be strictly necessary, but 00091 // let's do things the right way, regardless. 00092 TAO::ORB_Core_Ref_Counter tmp (rhs); 00093 std::swap (this->core_, tmp.core_); 00094 } |
|
Definition at line 194 of file ORB_Table.h. Referenced by core(), operator=(), ORB_Core_Ref_Counter(), and ~ORB_Core_Ref_Counter(). |