Template class as wrapper of a non reference counted data type but provide intrusive reference-counting feature by inherited from TAO_Intrusive_Ref_Count_Base. This makes the parameterized type data be smart pointer by using a TAO_Intrusive_Ref_Count_Handle<X> to an this wrapper object. More...
#include <Intrusive_Ref_Count_Object_T.h>


Public Member Functions | |
| TAO_Intrusive_Ref_Count_Object (OBJ *obj) | |
| take ownership of obj. | |
| virtual | ~TAO_Intrusive_Ref_Count_Object (void) |
| OBJ * | get () const |
Private Member Functions | |
| TAO_Intrusive_Ref_Count_Object (void) | |
| TAO_Intrusive_Ref_Count_Object (const TAO_Intrusive_Ref_Count_Object &) | |
| TAO_Intrusive_Ref_Count_Object & | operator= (const TAO_Intrusive_Ref_Count_Object &) |
Private Attributes | |
| OBJ * | obj_ |
Template class as wrapper of a non reference counted data type but provide intrusive reference-counting feature by inherited from TAO_Intrusive_Ref_Count_Base. This makes the parameterized type data be smart pointer by using a TAO_Intrusive_Ref_Count_Handle<X> to an this wrapper object.
Definition at line 38 of file Intrusive_Ref_Count_Object_T.h.
| TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object | ( | OBJ * | obj | ) |
take ownership of obj.
Definition at line 14 of file Intrusive_Ref_Count_Object_T.inl.
: obj_ (obj) {}
| TAO_Intrusive_Ref_Count_Object< OBJ, ACE_Lock >::~TAO_Intrusive_Ref_Count_Object | ( | void | ) | [virtual] |
Definition at line 15 of file Intrusive_Ref_Count_Object_T.cpp.
{
delete this->obj_;
}
| TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object | ( | void | ) | [private] |
Definition at line 9 of file Intrusive_Ref_Count_Object_T.inl.
{}
| TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object | ( | const TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK > & | ) | [private] |
| OBJ * TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::get | ( | void | ) | const |
Definition at line 21 of file Intrusive_Ref_Count_Object_T.inl.
{
return this->obj_;
}
| TAO_Intrusive_Ref_Count_Object& TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::operator= | ( | const TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK > & | ) | [private] |
OBJ* TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::obj_ [private] |
Definition at line 57 of file Intrusive_Ref_Count_Object_T.h.
1.7.0