Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 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

TAO_SYNCH_MUTEX refcount_lock_
 Mutex to protect reference count.
CORBA::ULong refcount_
 Number of outstanding references to this object.

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

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

CORBA::ULong TAO_Local_RefCounted_Object::refcount_ [protected]

Number of outstanding references to this object.

Reimplemented from CORBA::Object.

TAO_SYNCH_MUTEX TAO_Local_RefCounted_Object::refcount_lock_ [protected]

Mutex to protect reference count.

Reimplemented from CORBA::Object.

The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:43:42 2005 for TAO by  doxygen