TAO
2.2.2
|
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. More... | |
virtual | ~TAO_Intrusive_Ref_Count_Object (void) |
OBJ * | get () const |
![]() | |
virtual | ~TAO_Intrusive_Ref_Count_Base (void) |
void | _add_ref (void) |
void | _remove_ref (void) |
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_ |
Additional Inherited Members | |
![]() | |
TAO_Intrusive_Ref_Count_Base (void) | |
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.
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object | ( | OBJ * | obj | ) |
take ownership of obj.
|
virtual |
|
private |
|
private |
OBJ * TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::get | ( | ) | const |
|
private |
|
private |