AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
Referent< TRef > Class Template Reference

I am the referent object that maintains the reference count and the pointer to the underlying object whose lifespan I manage. More...

#include <ajarefptr.h>

Public Member Functions

 Referent (TRef *ptr)
 
void AddRef () throw ()
 
void RemoveRef () throw ()
 
TRef * get () const throw ()
 

Detailed Description

template<class TRef>
class Referent< TRef >

I am the referent object that maintains the reference count and the pointer to the underlying object whose lifespan I manage.

Note
I am not designed to be used as a superclass, therefore, none of my methods are virtual.

Definition at line 20 of file ajarefptr.h.

Constructor & Destructor Documentation

◆ Referent()

template<class TRef >
Referent< TRef >::Referent ( TRef *  ptr)

Definition at line 43 of file ajarefptr.h.

Member Function Documentation

◆ AddRef()

template<class TRef >
void Referent< TRef >::AddRef
throw (
)

Definition at line 51 of file ajarefptr.h.

◆ get()

template<class TRef >
TRef * Referent< TRef >::get
throw (
)

Definition at line 73 of file ajarefptr.h.

◆ RemoveRef()

template<class TRef >
void Referent< TRef >::RemoveRef
throw (
)

Definition at line 58 of file ajarefptr.h.


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