#include <Refcounted_Auto_Ptr.h>
Collaboration diagram for ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK >:

| Private Member Functions | |
| X * | release (void) | 
| Sets the pointer value to 0 and returns its old value. | |
| void | reset (X *p=0) | 
| X * | get (void) const | 
| Get the pointer value. | |
| int | count (void) const | 
| Get the reference count value. | |
| int | null (void) const | 
| Allows us to check for NULL on all ACE_Refcounted_Auto_Ptr objects. | |
| ACE_Refcounted_Auto_Ptr_Rep (X *p=0) | |
| ~ACE_Refcounted_Auto_Ptr_Rep (void) | |
| Static Private Member Functions | |
| ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > * | internal_create (X *p) | 
| ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > * | create (X *p) | 
| ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > * | attach (ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > *&rep) | 
| void | detach (ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > *&rep) | 
| void | assign (ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > *&rep, ACE_Refcounted_Auto_Ptr_Rep< X, ACE_LOCK > *new_rep) | 
| Private Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
| ACE_Auto_Basic_Ptr< X > | ptr_ | 
| Pointer to the result. | |
| int | ref_count_ | 
| Reference count. | |
| ACE_LOCK | lock_ | 
| Synchronization variable for the MT_SAFE <ace_hash_map_manager_ex>. | |
| Friends | |
| class | ACE_Refcounted_Auto_Ptr<X, ACE_LOCK> | 
| 
 | ||||||||||
| 
 | 
| 
 | ||||||||||
| 
 | 
| 
 | ||||||||||||||||
| Decreases the rep's reference count and and deletes rep if there are no more references to rep. Then assigns new_rep to rep. Precondition (rep != 0 && new_rep != 0) | 
| 
 | ||||||||||
| Increase the reference count and return argument. Uses the attribute "ace_lock_" to synchronize reference count updating. Precondition (rep != 0). | 
| 
 | ||||||||||
| Get the reference count value. 
 | 
| 
 | ||||||||||
| Create a ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK> and initialize the reference count. | 
| 
 | ||||||||||
| Decreases the reference count and and deletes rep if there are no more references to rep. Precondition (rep != 0) | 
| 
 | ||||||||||
| Get the pointer value. 
 | 
| 
 | ||||||||||
| Allocate a new ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK> instance, returning NULL if it cannot be created. | 
| 
 | ||||||||||
| Allows us to check for NULL on all ACE_Refcounted_Auto_Ptr objects. 
 | 
| 
 | ||||||||||
| Sets the pointer value to 0 and returns its old value. 
 | 
| 
 | ||||||||||
| Invokes delete on the previous pointer value and then sets the pointer value to the specified value. | 
| 
 | |||||
| 
 | 
| 
 | |||||
| Declare the dynamic allocation hooks. 
 | 
| 
 | |||||
| Synchronization variable for the MT_SAFE <ace_hash_map_manager_ex>. 
 | 
| 
 | |||||
| Pointer to the result. 
 | 
| 
 | |||||
| Reference count. 
 | 
 1.3.9.1
 1.3.9.1