NeoPZ
Classes | Macros | Functions | Variables
tpzautopointer.h File Reference

Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexed by this mutex. More...

#include "pz_pthread.h"
#include <stdlib.h>
Include dependency graph for tpzautopointer.h:

Go to the source code of this file.

Classes

class  TPZAutoPointer< T >
 This class implements a reference counter mechanism to administer a dynamically allocated object. Utility. More...
 
struct  TPZAutoPointer< T >::TPZReference< T2 >
 Counter struct. More...
 

Macros

#define AP_MUTEX_ARRAY_SZ
 Increment and Decrement actions are mutexed by this mutex. More...
 
#define AP_MUTEX_HASH_1
 
#define AP_MUTEX_HASH_2
 

Functions

pthread_mutex_t * get_ap_mutex (void *obj)
 
template<typename R , typename T >
TPZAutoPointer< R > TPZAutoPointerDynamicCast (TPZAutoPointer< T > in)
 

Variables

pthread_mutex_t gAutoPointerMutexArray []
 

Detailed Description

Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexed by this mutex.

Definition in file tpzautopointer.h.