Public Member Functions | Private Member Functions | Private Attributes | List of all members
AVT::VmbAPI::ref_count< T > Class Template Reference

#include <SharedPointer.h>

Inheritance diagram for AVT::VmbAPI::ref_count< T >:
Inheritance graph
[legend]

Public Member Functions

virtual void dec ()
 
virtual void inc ()
 
 ref_count (T *pObject)
 
virtual long use_count () const
 
virtual ~ref_count ()
 
- Public Member Functions inherited from AVT::VmbAPI::ref_count_base
virtual ~ref_count_base ()
 

Private Member Functions

ref_countoperator= (const ref_count &rRefCount)
 
 ref_count (const ref_count &rRefCount)
 

Private Attributes

Mutex m_Mutex
 
long m_nCount
 
T * m_pObject
 

Detailed Description

template<class T>
class AVT::VmbAPI::ref_count< T >

Definition at line 55 of file SharedPointer.h.

Constructor & Destructor Documentation

◆ ref_count() [1/2]

template<class T >
AVT::VmbAPI::ref_count< T >::ref_count ( const ref_count< T > &  rRefCount)
private

Definition at line 39 of file SharedPointer_impl.h.

◆ ref_count() [2/2]

template<class T >
AVT::VmbAPI::ref_count< T >::ref_count ( T *  pObject)
explicit

Definition at line 51 of file SharedPointer_impl.h.

◆ ~ref_count()

template<class T >
AVT::VmbAPI::ref_count< T >::~ref_count
virtual

Definition at line 58 of file SharedPointer_impl.h.

Member Function Documentation

◆ dec()

template<class T >
void AVT::VmbAPI::ref_count< T >::dec
virtual

Implements AVT::VmbAPI::ref_count_base.

Definition at line 79 of file SharedPointer_impl.h.

◆ inc()

template<class T >
void AVT::VmbAPI::ref_count< T >::inc
virtual

Implements AVT::VmbAPI::ref_count_base.

Definition at line 69 of file SharedPointer_impl.h.

◆ operator=()

template<class T >
ref_count< T > & AVT::VmbAPI::ref_count< T >::operator= ( const ref_count< T > &  rRefCount)
private

Definition at line 44 of file SharedPointer_impl.h.

◆ use_count()

template<class T >
long AVT::VmbAPI::ref_count< T >::use_count
virtual

Implements AVT::VmbAPI::ref_count_base.

Definition at line 100 of file SharedPointer_impl.h.

Member Data Documentation

◆ m_Mutex

template<class T >
Mutex AVT::VmbAPI::ref_count< T >::m_Mutex
private

Definition at line 60 of file SharedPointer.h.

◆ m_nCount

template<class T >
long AVT::VmbAPI::ref_count< T >::m_nCount
private

Definition at line 59 of file SharedPointer.h.

◆ m_pObject

template<class T >
T* AVT::VmbAPI::ref_count< T >::m_pObject
private

Definition at line 58 of file SharedPointer.h.


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


avt_vimba_camera
Author(s): Allied Vision Technologies, Miquel Massot
autogenerated on Sat Jun 3 2023 02:14:12