Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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
[legend]
Collaboration diagram for TAO_Local_RefCounted_Object:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void _add_ref (void)
 Increment reference count.

virtual void _remove_ref (void)
 Decrement reference count.


Protected Methods

 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 Methods

Unimplemented methods
 TAO_Local_RefCounted_Object (const TAO_Local_RefCounted_Object &)
TAO_Local_RefCounted_Object & operator= (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 Wed Jan 14 23:28:53 2004 for TAO by doxygen1.2.18