TAO  2.0.6
Public Member Functions | Private Member Functions | Private Attributes
TAO_Intrusive_Ref_Count_Object Class Reference

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>

Inheritance diagram for TAO_Intrusive_Ref_Count_Object:
Inheritance graph
[legend]
Collaboration diagram for TAO_Intrusive_Ref_Count_Object:
Collaboration graph
[legend]

List of all members.

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_Objectoperator= (const TAO_Intrusive_Ref_Count_Object &)

Private Attributes

OBJ * obj_

Detailed Description

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.


Constructor & Destructor Documentation

TAO_Intrusive_Ref_Count_Object::TAO_Intrusive_Ref_Count_Object ( OBJ *  obj)

take ownership of obj.

TAO_Intrusive_Ref_Count_Object::~TAO_Intrusive_Ref_Count_Object ( void  ) [virtual]
TAO_Intrusive_Ref_Count_Object::TAO_Intrusive_Ref_Count_Object ( void  ) [private]
TAO_Intrusive_Ref_Count_Object::TAO_Intrusive_Ref_Count_Object ( const TAO_Intrusive_Ref_Count_Object ) [private]

Member Function Documentation

OBJ * TAO_Intrusive_Ref_Count_Object::get ( ) const
TAO_Intrusive_Ref_Count_Object& TAO_Intrusive_Ref_Count_Object::operator= ( const TAO_Intrusive_Ref_Count_Object ) [private]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines