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

`#include <LocalObject.h>`

Inheritance diagram for TAO_Local_RefCounted_Object

[legend]
Collaboration diagram for TAO_Local_RefCounted_Object:

[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)
## 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.

## 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]`

The documentation for this class was generated from the following files:

- LocalObject.h
- LocalObject.cpp
- LocalObject.i