MythTV  master
Public Member Functions | Private Attributes | List of all members
simple_ref_ptr< T, Locker >::ref Class Reference
Inheritance diagram for simple_ref_ptr< T, Locker >::ref:
Inheritance graph
[legend]
Collaboration diagram for simple_ref_ptr< T, Locker >::ref:
Collaboration graph
[legend]

Public Member Functions

 ref (T *ptr)
 
 ~ref ()
 
unsigned int inc ()
 
unsigned int dec ()
 
T * get ()
 
T * get () const
 

Private Attributes

unsigned int m_count
 
T * m_type
 

Detailed Description

template<typename T, class Locker = NoLock>
class simple_ref_ptr< T, Locker >::ref

Definition at line 91 of file quicksp.h.

Constructor & Destructor Documentation

◆ ref()

template<typename T, class Locker = NoLock>
simple_ref_ptr< T, Locker >::ref::ref ( T *  ptr)
inlineexplicit

Definition at line 94 of file quicksp.h.

◆ ~ref()

template<typename T, class Locker = NoLock>
simple_ref_ptr< T, Locker >::ref::~ref ( )
inline

Definition at line 96 of file quicksp.h.

Member Function Documentation

◆ inc()

template<typename T, class Locker = NoLock>
unsigned int simple_ref_ptr< T, Locker >::ref::inc ( )
inline

Definition at line 101 of file quicksp.h.

Referenced by simple_ref_ptr< meta_dir_node >::operator=().

◆ dec()

template<typename T, class Locker = NoLock>
unsigned int simple_ref_ptr< T, Locker >::ref::dec ( )
inline

Definition at line 109 of file quicksp.h.

Referenced by simple_ref_ptr< meta_dir_node >::unref().

◆ get() [1/2]

template<typename T, class Locker = NoLock>
T* simple_ref_ptr< T, Locker >::ref::get ( )
inline

◆ get() [2/2]

template<typename T, class Locker = NoLock>
T* simple_ref_ptr< T, Locker >::ref::get ( ) const
inline

Member Data Documentation

◆ m_count

template<typename T, class Locker = NoLock>
unsigned int simple_ref_ptr< T, Locker >::ref::m_count
private

◆ m_type

template<typename T, class Locker = NoLock>
T* simple_ref_ptr< T, Locker >::ref::m_type
private

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