MAOS
Multithreaded Adaptive Optics Simulator
RefP< T, Dev > Class Template Reference
+ Inheritance diagram for RefP< T, Dev >:
+ Collaboration diagram for RefP< T, Dev >:

Public Types

typedef T type
 

Public Member Functions

int NRef () const
 
void deinit ()
 
 RefP (long n, T *pin=0, int own=1)
 
 RefP (const RefP &pin, long offset=0)
 
RefPoperator= (const RefP &in)
 
void init (long n=0)
 
T * operator() ()
 
const T * operator() () const
 
 operator T* ()
 
 operator const T * () const
 
T & operator() (int i)
 
const T & operator() (int i) const
 
bool operator== (const RefP &in)
 
T * operator+ (int i)
 
const T * operator+ (int i) const
 

Protected Attributes

T * p
 

Detailed Description

template<typename T, template< typename > class Dev>
class RefP< T, Dev >

RefP is a reference counting for pointers.


The documentation for this class was generated from the following file: