#include <Refcounted_ObjectKey.h>
Public Member Functions | |
Refcounted_ObjectKey (const ObjectKey &ref) | |
Constructor. | |
const ObjectKey & | object_key (void) const |
Accessor for the underlying ObjectKey. | |
Protected Member Functions | |
~Refcounted_ObjectKey (void) | |
Protected destructor. | |
void | incr_refcount (void) |
Methods for incrementing refcount. | |
CORBA::ULong | decr_refcount (void) |
Private Attributes | |
ObjectKey | object_key_ |
The object key. | |
CORBA::ULong | ref_count_ |
The refcount on the object key.. | |
Friends | |
class | ObjectKey_Table |
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.
TAO::Refcounted_ObjectKey::Refcounted_ObjectKey | ( | const ObjectKey & | ref | ) |
Constructor.
TAO::Refcounted_ObjectKey::~Refcounted_ObjectKey | ( | void | ) | [protected] |
Protected destructor.
CORBA::ULong TAO::Refcounted_ObjectKey::decr_refcount | ( | void | ) | [protected] |
Methods for decrementing refcount. Return the refcount, used by the ObjectKey table.
void TAO::Refcounted_ObjectKey::incr_refcount | ( | void | ) | [protected] |
Methods for incrementing refcount.
const TAO::ObjectKey & TAO::Refcounted_ObjectKey::object_key | ( | void | ) | const |
Accessor for the underlying ObjectKey.
friend class ObjectKey_Table [friend] |
ObjectKey TAO::Refcounted_ObjectKey::object_key_ [private] |
The object key.
CORBA::ULong TAO::Refcounted_ObjectKey::ref_count_ [private] |
The refcount on the object key..