Public Types | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Friends | List of all members
AVT::VmbAPI::shared_ptr< T > Class Template Reference

#include <SharedPointer.h>

Public Types

typedef T *this_type::* unspecified_bool_type
 

Public Member Functions

T * get () const
 
 operator unspecified_bool_type () const
 
T & operator* () const
 
T * operator-> () const
 
shared_ptroperator= (const shared_ptr &rSharedPointer)
 
template<class T2 >
shared_ptroperator= (const shared_ptr< T2 > &rSharedPointer)
 
template<class T2 >
shared_ptr< T > & operator= (const shared_ptr< T2 > &rSharedPointer)
 
void reset ()
 
template<class T2 >
void reset (T2 *pObject)
 
 shared_ptr ()
 
 shared_ptr (const shared_ptr &rSharedPointer)
 
template<class T2 >
 shared_ptr (const shared_ptr< T2 > &rSharedPointer)
 
template<class T2 >
 shared_ptr (const shared_ptr< T2 > &rSharedPointer, dynamic_cast_tag)
 
template<class T2 >
 shared_ptr (T2 *pObject)
 
void swap (shared_ptr &rSharedPointer)
 
bool unique () const
 
long use_count () const
 
virtual ~shared_ptr ()
 

Private Types

typedef shared_ptr< T > this_type
 

Static Private Member Functions

template<class T2 >
static void swap (T2 &rValue1, T2 &rValue2)
 

Private Attributes

T * m_pObject
 
AVT::VmbAPI::ref_count_basem_pRefCount
 

Friends

template<class T2 >
class shared_ptr
 

Detailed Description

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

Definition at line 75 of file SharedPointer.h.

Member Typedef Documentation

◆ this_type

template<class T >
typedef shared_ptr<T> AVT::VmbAPI::shared_ptr< T >::this_type
private

Definition at line 78 of file SharedPointer.h.

◆ unspecified_bool_type

template<class T >
typedef T* this_type::* AVT::VmbAPI::shared_ptr< T >::unspecified_bool_type

Definition at line 115 of file SharedPointer.h.

Constructor & Destructor Documentation

◆ shared_ptr() [1/5]

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

Definition at line 115 of file SharedPointer_impl.h.

◆ shared_ptr() [2/5]

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

Definition at line 123 of file SharedPointer_impl.h.

◆ shared_ptr() [3/5]

template<class T >
AVT::VmbAPI::shared_ptr< T >::shared_ptr ( const shared_ptr< T > &  rSharedPointer)

Definition at line 173 of file SharedPointer_impl.h.

◆ shared_ptr() [4/5]

template<class T >
template<class T2 >
AVT::VmbAPI::shared_ptr< T >::shared_ptr ( const shared_ptr< T2 > &  rSharedPointer)

Definition at line 140 of file SharedPointer_impl.h.

◆ shared_ptr() [5/5]

template<class T >
template<class T2 >
AVT::VmbAPI::shared_ptr< T >::shared_ptr ( const shared_ptr< T2 > &  rSharedPointer,
dynamic_cast_tag   
)

Definition at line 155 of file SharedPointer_impl.h.

◆ ~shared_ptr()

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

Definition at line 187 of file SharedPointer_impl.h.

Member Function Documentation

◆ get()

template<class T >
T * AVT::VmbAPI::shared_ptr< T >::get

Definition at line 228 of file SharedPointer_impl.h.

◆ operator unspecified_bool_type()

template<class T >
AVT::VmbAPI::shared_ptr< T >::operator unspecified_bool_type ( ) const
inline

Definition at line 117 of file SharedPointer.h.

◆ operator*()

template<class T >
T & AVT::VmbAPI::shared_ptr< T >::operator*

Definition at line 234 of file SharedPointer_impl.h.

◆ operator->()

template<class T >
T * AVT::VmbAPI::shared_ptr< T >::operator->

Definition at line 240 of file SharedPointer_impl.h.

◆ operator=() [1/3]

template<class T >
shared_ptr< T > & AVT::VmbAPI::shared_ptr< T >::operator= ( const shared_ptr< T > &  rSharedPointer)

Definition at line 207 of file SharedPointer_impl.h.

◆ operator=() [2/3]

template<class T >
template<class T2 >
shared_ptr& AVT::VmbAPI::shared_ptr< T >::operator= ( const shared_ptr< T2 > &  rSharedPointer)

◆ operator=() [3/3]

template<class T >
template<class T2 >
shared_ptr<T>& AVT::VmbAPI::shared_ptr< T >::operator= ( const shared_ptr< T2 > &  rSharedPointer)

Definition at line 199 of file SharedPointer_impl.h.

◆ reset() [1/2]

template<class T >
void AVT::VmbAPI::shared_ptr< T >::reset

Definition at line 215 of file SharedPointer_impl.h.

◆ reset() [2/2]

template<class T >
template<class T2 >
void AVT::VmbAPI::shared_ptr< T >::reset ( T2 *  pObject)

Definition at line 222 of file SharedPointer_impl.h.

◆ swap() [1/2]

template<class T >
void AVT::VmbAPI::shared_ptr< T >::swap ( shared_ptr< T > &  rSharedPointer)

Definition at line 263 of file SharedPointer_impl.h.

◆ swap() [2/2]

template<class T >
template<class T2 >
void AVT::VmbAPI::shared_ptr< T >::swap ( T2 &  rValue1,
T2 &  rValue2 
)
staticprivate

Definition at line 107 of file SharedPointer_impl.h.

◆ unique()

template<class T >
bool AVT::VmbAPI::shared_ptr< T >::unique

Definition at line 257 of file SharedPointer_impl.h.

◆ use_count()

template<class T >
long AVT::VmbAPI::shared_ptr< T >::use_count

Definition at line 246 of file SharedPointer_impl.h.

Friends And Related Function Documentation

◆ shared_ptr

template<class T >
template<class T2 >
friend class shared_ptr
friend

Definition at line 81 of file SharedPointer.h.

Member Data Documentation

◆ m_pObject

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

Definition at line 84 of file SharedPointer.h.

◆ m_pRefCount

template<class T >
AVT::VmbAPI::ref_count_base* AVT::VmbAPI::shared_ptr< T >::m_pRefCount
private

Definition at line 83 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