TAO 4.0.2
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
TAO::Refcounted_ObjectKey Class Reference

A wrapper class that ties together a refcount to an ObjectKey. More...

#include <Refcounted_ObjectKey.h>

Collaboration diagram for TAO::Refcounted_ObjectKey:
Collaboration graph
[legend]

Public Member Functions

 Refcounted_ObjectKey (const ObjectKey &ref)
 Constructor.
 
const ObjectKeyobject_key () const
 Accessor for the underlying ObjectKey.
 

Protected Member Functions

 ~Refcounted_ObjectKey ()
 Protected destructor.
 
void incr_refcount ()
 Methods for incrementing refcount.
 
CORBA::ULong decr_refcount ()
 

Private Attributes

ObjectKey object_key_
 The object key.
 
CORBA::ULong refcount_
 The refcount on the object key..
 

Friends

class ObjectKey_Table
 

Detailed Description

A wrapper class that ties together a refcount to an ObjectKey.

The refcount in this class is manipulated within the context of the lock in the TAO::ObjectKey_Table. Manipulating the refcount from anywhere else is strictly forbidden.

Constructor & Destructor Documentation

◆ Refcounted_ObjectKey()

TAO::Refcounted_ObjectKey::Refcounted_ObjectKey ( const ObjectKey & ref)

Constructor.

◆ ~Refcounted_ObjectKey()

TAO::Refcounted_ObjectKey::~Refcounted_ObjectKey ( )
protected

Protected destructor.

Member Function Documentation

◆ decr_refcount()

CORBA::ULong TAO::Refcounted_ObjectKey::decr_refcount ( )
protected

Methods for decrementing refcount. Return the refcount, used by the ObjectKey table.

◆ incr_refcount()

void TAO::Refcounted_ObjectKey::incr_refcount ( )
protected

Methods for incrementing refcount.

◆ object_key()

const TAO::ObjectKey & TAO::Refcounted_ObjectKey::object_key ( ) const

Accessor for the underlying ObjectKey.

Friends And Related Symbol Documentation

◆ ObjectKey_Table

friend class ObjectKey_Table
friend

Member Data Documentation

◆ object_key_

ObjectKey TAO::Refcounted_ObjectKey::object_key_
private

The object key.

◆ refcount_

CORBA::ULong TAO::Refcounted_ObjectKey::refcount_
private

The refcount on the object key..


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