TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include <ttksmartptr.h>
Public Member Functions | |
TTKSharedPtr () noexcept | |
TTKSharedPtr (T *ptr) noexcept | |
~TTKSharedPtr () | |
template<typename U > | |
TTKSharedPtr (const TTKSharedPtr< U > &p, T *ptr) | |
TTKSharedPtr (const TTKSharedPtr &p) | |
TTKSharedPtr & | operator= (const TTKSharedPtr &p) |
TTKSharedPtr (TTKSharedPtr &&p) | |
TTKSharedPtr & | operator= (TTKSharedPtr &&p) |
int | use_count () noexcept |
T * | get () const noexcept |
T * | operator-> () const noexcept |
T & | operator* () const noexcept |
operator bool () const noexcept | |
Private Member Functions | |
void | clean () |
Private Attributes | |
T * | m_ptr |
_SharedCount * | m_ref_count |
Friends | |
template<typename U > | |
class | TTKSharedPtr |
Definition at line 77 of file ttksmartptr.h.
|
inlinenoexcept |
Definition at line 80 of file ttksmartptr.h.
|
inlinenoexcept |
Definition at line 81 of file ttksmartptr.h.
|
inline |
Definition at line 82 of file ttksmartptr.h.
References TTKSharedPtr< T >::clean().
|
inline |
Definition at line 91 of file ttksmartptr.h.
References _SharedCount::m_count, TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
|
inline |
Definition at line 97 of file ttksmartptr.h.
References _SharedCount::m_count, TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
|
inline |
Definition at line 111 of file ttksmartptr.h.
References TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
|
inlineprivate |
Definition at line 135 of file ttksmartptr.h.
References _SharedCount::m_count, TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
Referenced by TTKSharedPtr< T >::operator=(), and TTKSharedPtr< T >::~TTKSharedPtr().
|
inlinenoexcept |
Definition at line 129 of file ttksmartptr.h.
References TTKSharedPtr< T >::m_ptr.
|
inlinenoexcept |
Definition at line 132 of file ttksmartptr.h.
References TTKSharedPtr< T >::m_ptr.
|
inlinenoexcept |
Definition at line 131 of file ttksmartptr.h.
References TTKSharedPtr< T >::m_ptr.
|
inlinenoexcept |
Definition at line 130 of file ttksmartptr.h.
References TTKSharedPtr< T >::m_ptr.
|
inline |
Definition at line 103 of file ttksmartptr.h.
References TTKSharedPtr< T >::clean(), _SharedCount::m_count, TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
|
inline |
Definition at line 118 of file ttksmartptr.h.
References TTKSharedPtr< T >::clean(), TTKSharedPtr< T >::m_ptr, and TTKSharedPtr< T >::m_ref_count.
|
inlinenoexcept |
Definition at line 128 of file ttksmartptr.h.
References _SharedCount::m_count, and TTKSharedPtr< T >::m_ref_count.
Definition at line 88 of file ttksmartptr.h.
|
private |
Definition at line 148 of file ttksmartptr.h.
Referenced by TTKSharedPtr< T >::clean(), TTKSharedPtr< T >::get(), TTKSharedPtr< T >::operator bool(), TTKSharedPtr< T >::operator*(), TTKSharedPtr< T >::operator->(), TTKSharedPtr< T >::operator=(), and TTKSharedPtr< T >::TTKSharedPtr().
|
private |
Definition at line 149 of file ttksmartptr.h.
Referenced by TTKSharedPtr< T >::clean(), TTKSharedPtr< T >::operator=(), TTKSharedPtr< T >::TTKSharedPtr(), and TTKSharedPtr< T >::use_count().