TAO_Local_RefCounted_Object Class Reference

This class adds default reference counting to local objects. More...

#include <LocalObject.h>

Inheritance diagram for TAO_Local_RefCounted_Object:

Inheritance graph
Collaboration diagram for TAO_Local_RefCounted_Object:

Collaboration graph
List of all members.

Public Member Functions

virtual ~TAO_Local_RefCounted_Object (void)
virtual void _add_ref (void)
 Increment reference count.
virtual void _remove_ref (void)
 Decrement reference count.

Protected Member Functions

 TAO_Local_RefCounted_Object (void)

Protected Attributes

 Reference counter.

Private Member Functions

Unimplemented methods
 TAO_Local_RefCounted_Object (const TAO_Local_RefCounted_Object &)
TAO_Local_RefCounted_Objectoperator= (const TAO_Local_RefCounted_Object &)

Detailed Description

This class adds default reference counting to local objects.

This is proprietary convenience class that implements reference counting in locality constrained objects.

Constructor & Destructor Documentation

TAO_Local_RefCounted_Object::~TAO_Local_RefCounted_Object ( void   )  [virtual]


ACE_INLINE TAO_Local_RefCounted_Object::TAO_Local_RefCounted_Object ( void   )  [protected]

Make it protected to prevent instantiation of this class.

TAO_Local_RefCounted_Object::TAO_Local_RefCounted_Object ( const TAO_Local_RefCounted_Object  )  [private]

Member Function Documentation

void TAO_Local_RefCounted_Object::_add_ref ( void   )  [virtual]

Increment reference count.

Reimplemented from CORBA::LocalObject.

void TAO_Local_RefCounted_Object::_remove_ref ( void   )  [virtual]

Decrement reference count.

Reimplemented from CORBA::LocalObject.

TAO_Local_RefCounted_Object& TAO_Local_RefCounted_Object::operator= ( const TAO_Local_RefCounted_Object  )  [private]

Member Data Documentation

ACE_Atomic_Op<TAO_SYNCH_MUTEX, CORBA::ULong> TAO_Local_RefCounted_Object::refcount_ [protected]

Reference counter.

Reimplemented from CORBA::Object.

The documentation for this class was generated from the following files:
Generated on Sun Jul 9 09:46:42 2006 for TAO by  doxygen 1.4.7-1