MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
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

void init (long n=0, T *pin=0, int own=1)
int NRef () const
void deinit ()
 RefP (long n, T *pin=0, int own=1)
 RefP (const RefP &pin, long offset=0)
RefP & operator= (const RefP &in)
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)

Protected Attributes

T * p =0

Detailed Description

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

RefP is a reference counting for pointers.


The documentation for this class was generated from the following file:
  • cuda/math/types.h