ExternalRefCount< T > Class Template Reference
#include <qsharedpointer_impl.h>
template<class T>
class QtSharedPointer::ExternalRefCount< T >
Definition at line 105 of file qsharedpointer_impl.h.
static void deref |
( |
Data * |
d, |
|
|
T * |
value |
|
) |
| |
|
inlinestaticprotected |
void internalConstruct |
( |
T * |
ptr | ) |
|
|
inlineprotected |
Definition at line 348 of file qsharedpointer_impl.h.
350 #ifdef QT_SHAREDPOINTER_TRACK_POINTERS
void internalFinishConstruction(T *ptr)
ExternalRefCountData Data
void internalConstruct |
( |
T * |
ptr, |
|
|
Deleter |
deleter |
|
) |
| |
|
inlineprotected |
Definition at line 362 of file qsharedpointer_impl.h.
void internalFinishConstruction(T *ptr)
static Self * create(T *ptr, Deleter userDeleter)
Definition at line 371 of file qsharedpointer_impl.h.
void internalConstruct(T *ptr)
static ExternalRefCountData * create(T **ptr)
void internalFinishConstruction |
( |
T * |
ptr | ) |
|
|
inlineprotected |
Definition at line 378 of file qsharedpointer_impl.h.
381 #ifdef QT_SHAREDPOINTER_TRACK_POINTERS
Q_CORE_EXPORT void internalSafetyCheckAdd2(const void *, const volatile void *)
void internalConstruct(T *ptr)
Q_CORE_EXPORT void setQObjectShared(const QObject *, bool enable)
Definition at line 404 of file qsharedpointer_impl.h.
407 T *actual = other.value;
GLsizei const GLfloat * value
ExternalRefCountData Data
void qSwap(QSharedPointer< T > &p1, QSharedPointer< T > &p2)
Definition at line 415 of file qsharedpointer_impl.h.
GLsizei const GLfloat * value
void qSwap(QSharedPointer< T > &p1, QSharedPointer< T > &p2)
void internalSet |
( |
Data * |
o, |
|
|
T * |
actual |
|
) |
| |
|
inlineprotected |
Definition at line 430 of file qsharedpointer_impl.h.
435 register int tmp = o->strongref;
438 if (o->strongref.testAndSetRelaxed(tmp, tmp + 1))
QBasicAtomicInt strongref
GLsizei const GLfloat * value
void qSwap(QSharedPointer< T > &p1, QSharedPointer< T > &p2)
The documentation for this class was generated from the following file: