#include <Refcountable_Guard_T.h>
Collaboration diagram for TAO_Notify_Refcountable_Guard_T< T >:

Public Member Functions | |
| TAO_Notify_Refcountable_Guard_T (T *t=0) | |
| Constuctor. | |
| TAO_Notify_Refcountable_Guard_T (const TAO_Notify_Refcountable_Guard_T< T > &rhs) | |
| Copy constructor. | |
| ~TAO_Notify_Refcountable_Guard_T () | |
| Destructor. | |
| T * | get (void) const |
| Redirection operator. | |
| bool | isSet (void) const |
| Boolean test. | |
| T * | operator-> (void) const |
| Redirection operator. | |
| T & | operator * () const |
| Dereference operator. | |
| void | reset (T *t=0) |
| Reassignment. | |
| TAO_Notify_Refcountable_Guard_T< T > & | operator= (const TAO_Notify_Refcountable_Guard_T< T > &rhs) |
| Assignment. | |
Private Member Functions | |
| void | swap (TAO_Notify_Refcountable_Guard_T< T > &rhs) |
Private Attributes | |
| T * | t_ |
Definition at line 34 of file Refcountable_Guard_T.h.
|
||||||||||
|
Constuctor.
Definition at line 10 of file Refcountable_Guard_T.inl.
|
|
||||||||||
|
Copy constructor.
Definition at line 17 of file Refcountable_Guard_T.inl.
|
|
|||||||||
|
Destructor.
Definition at line 24 of file Refcountable_Guard_T.inl.
|
|
||||||||||
|
Redirection operator.
Definition at line 31 of file Refcountable_Guard_T.inl.
00032 {
00033 return this->t_;
00034 }
|
|
||||||||||
|
Boolean test.
Definition at line 38 of file Refcountable_Guard_T.inl.
00039 {
00040 return ( this->t_ != static_cast< T* >( 0 ) );
00041 }
|
|
|||||||||
|
Dereference operator.
Definition at line 54 of file Refcountable_Guard_T.inl. References ACE_ASSERT.
00055 {
00056 ACE_ASSERT ( this->t_ != static_cast< T* >( 0 ) );
00057 return *this->t_;
00058 }
|
|
||||||||||
|
Redirection operator.
Definition at line 46 of file Refcountable_Guard_T.inl. References ACE_ASSERT.
00047 {
00048 ACE_ASSERT ( this->t_ != static_cast< T* >( 0 ) );
00049 return this->t_;
00050 }
|
|
||||||||||
|
Assignment.
Definition at line 62 of file Refcountable_Guard_T.inl. References TAO_Notify_Refcountable_Guard_T< T >::reset(), and TAO_Notify_Refcountable_Guard_T< T >::t_.
|
|
||||||||||
|
Reassignment.
Definition at line 72 of file Refcountable_Guard_T.inl. References TAO_Notify_Refcountable_Guard_T< T >::swap(). Referenced by TAO_Notify_Refcountable_Guard_T< T >::operator=().
00073 {
00074 if (this->t_ != t)
00075 {
00076 TAO_Notify_Refcountable_Guard_T<T> temp( t );
00077 swap( temp );
00078 }
00079 }
|
|
||||||||||
|
Definition at line 83 of file Refcountable_Guard_T.inl. References TAO_Notify_Refcountable_Guard_T< T >::t_. Referenced by TAO_Notify_Refcountable_Guard_T< T >::reset().
|
|
|||||
|
Definition at line 70 of file Refcountable_Guard_T.h. Referenced by TAO_Notify_Refcountable_Guard_T< T >::operator=(), and TAO_Notify_Refcountable_Guard_T< T >::swap(). |
1.3.6