#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_ |
Definition at line 158 of file ORB_Table.h.
ACE_INLINE TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | void | ) |
Constructor.
Definition at line 45 of file ORB_Table.inl.
References ORB_Core_Ref_Counter().
Referenced by ORB_Core_Ref_Counter().
00046 : core_ (0) 00047 { 00048 }
ACE_INLINE TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | ::TAO_ORB_Core * | core | ) |
Constructor.
Definition at line 51 of file ORB_Table.inl.
References ORB_Core_Ref_Counter().
00052 : core_ (core) 00053 { 00054 // ACE_ASSERT (core != 0); 00055 00056 // Note that the TAO_ORB_Core pointer should always be valid in this 00057 // constructor. 00058 00059 // Claim ownership. 00060 (void) this->core_->_incr_refcnt (); 00061 }
ACE_INLINE TAO::ORB_Core_Ref_Counter::~ORB_Core_Ref_Counter | ( | void | ) |
Destructor.
Definition at line 64 of file ORB_Table.inl.
References ~ORB_Core_Ref_Counter().
Referenced by ~ORB_Core_Ref_Counter().
00065 { 00066 if (this->core_) 00067 (void) this->core_->_decr_refcnt (); // Should never throw. 00068 }
ACE_INLINE TAO::ORB_Core_Ref_Counter::ORB_Core_Ref_Counter | ( | ORB_Core_Ref_Counter const & | rhs | ) |
Copy constructor.
Definition at line 71 of file ORB_Table.inl.
References ORB_Core_Ref_Counter().
00073 : core_ (rhs.core_) 00074 { 00075 // Claim ownership. 00076 if (this->core_) 00077 (void) this->core_->_incr_refcnt (); 00078 }
::TAO_ORB_Core* TAO::ORB_Core_Ref_Counter::core | ( | void | ) | const [inline] |
ORB_Core pointer accessor.
Definition at line 178 of file ORB_Table.h.
References core_.
00178 { return this->core_; }
ACE_INLINE void TAO::ORB_Core_Ref_Counter::operator= | ( | ORB_Core_Ref_Counter const & | rhs | ) |
Assignment operator.
Definition at line 81 of file ORB_Table.inl.
00082 { 00083 // Strongly exception safe. May not be strictly necessary, but 00084 // let's do things the right way, regardless. 00085 TAO::ORB_Core_Ref_Counter tmp (rhs); 00086 std::swap (this->core_, tmp.core_); 00087 }
::TAO_ORB_Core* TAO::ORB_Core_Ref_Counter::core_ [private] |