TAO  2.0.8
Public Member Functions | Private Member Functions | Private Attributes
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK > Class Template 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< OBJ, ACE_LOCK >:
Inheritance graph
[legend]
Collaboration diagram for TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >:
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 OBJ, class ACE_LOCK>
class TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >

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

template<typename OBJ , typename ACE_LOCK >
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object ( OBJ *  obj)

take ownership of obj.

template<typename OBJ , typename ACE_Lock >
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_Lock >::~TAO_Intrusive_Ref_Count_Object ( void  ) [virtual]
template<typename OBJ , typename ACE_LOCK >
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object ( void  ) [private]
template<class OBJ , class ACE_LOCK >
TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::TAO_Intrusive_Ref_Count_Object ( const TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK > &  ) [private]

Member Function Documentation

template<typename OBJ , typename ACE_LOCK >
OBJ * TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::get ( ) const
template<class OBJ , class ACE_LOCK >
TAO_Intrusive_Ref_Count_Object& TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::operator= ( const TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK > &  ) [private]

Member Data Documentation

template<class OBJ , class ACE_LOCK >
OBJ* TAO_Intrusive_Ref_Count_Object< OBJ, ACE_LOCK >::obj_ [private]

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