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