An ACE_Refcounted_Auto_Ptr_Rep object encapsulates a pointer to an object of type X. It uses a lock object of type ACE_LOCK to protect access to the reference count.
More...
#include <Refcounted_Auto_Ptr.h>
template<class X, class ACE_LOCK>
class ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK >
An ACE_Refcounted_Auto_Ptr_Rep object encapsulates a pointer to an object of type X. It uses a lock object of type ACE_LOCK to protect access to the reference count.
ACE_Refcounted_Auto_Ptr_Rep is used internally by the ACE_Refcounted_Auto_Ptr class and is only accessible through it.
template<class X , class ACE_LOCK >
template<class X , class ACE_LOCK >
template<class X , class ACE_LOCK >
Increase the reference count on rep.
- Return values
-
@a | rep if success, 0 if there's an error obtaining the lock on rep. |
template<class X , class ACE_LOCK >
Get the reference count value.
template<class X , class ACE_LOCK >
Create a ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK> and initialize the reference count.
template<class X , class ACE_LOCK >
Decreases the reference count and and deletes rep if there are no more references to rep.
Precondition (rep != 0)
template<class X , class ACE_LOCK >
template<class X , class ACE_LOCK >
Allocate a new ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK> instance, returning NULL if it cannot be created.
template<class X , class ACE_LOCK >
template<class X , class ACE_LOCK >
Declare the dynamic allocation hooks.
template<class X , class ACE_LOCK >
template<class X , class ACE_LOCK >
The documentation for this class was generated from the following files: