Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRecyclePoolPrivate< T, Step > Class Template Reference

#include <qrecyclepool_p.h>

Collaboration diagram for QRecyclePoolPrivate< T, Step >:

Classes

struct  Page
struct  PoolType

Public Member Functions

 QRecyclePoolPrivate ()
T * allocate ()
void releaseIfPossible ()

Static Public Member Functions

static void dispose (T *)

Public Attributes

bool recyclePoolHold
int outstandingItems
quint32 cookie
PagecurrentPage
PoolTypenextAllocated

Detailed Description

template<typename T, int Step>
class QRecyclePoolPrivate< T, Step >

Definition at line 27 of file qrecyclepool_p.h.

Constructor & Destructor Documentation

◆ QRecyclePoolPrivate()

template<typename T, int Step>
QRecyclePoolPrivate< T, Step >::QRecyclePoolPrivate ( )
inline

Definition at line 30 of file qrecyclepool_p.h.

Member Function Documentation

◆ allocate()

template<typename T, int Step>
T * QRecyclePoolPrivate< T, Step >::allocate ( )
inline

Definition at line 125 of file qrecyclepool_p.h.

◆ dispose()

template<typename T, int Step>
void QRecyclePoolPrivate< T, Step >::dispose ( T * t)
inlinestatic

Definition at line 150 of file qrecyclepool_p.h.

◆ releaseIfPossible()

template<typename T, int Step>
void QRecyclePoolPrivate< T, Step >::releaseIfPossible ( )
inline

Definition at line 109 of file qrecyclepool_p.h.

Member Data Documentation

◆ cookie

template<typename T, int Step>
quint32 QRecyclePoolPrivate< T, Step >::cookie

Definition at line 38 of file qrecyclepool_p.h.

◆ currentPage

template<typename T, int Step>
Page* QRecyclePoolPrivate< T, Step >::currentPage

Definition at line 57 of file qrecyclepool_p.h.

◆ nextAllocated

template<typename T, int Step>
PoolType* QRecyclePoolPrivate< T, Step >::nextAllocated

Definition at line 58 of file qrecyclepool_p.h.

◆ outstandingItems

template<typename T, int Step>
int QRecyclePoolPrivate< T, Step >::outstandingItems

Definition at line 37 of file qrecyclepool_p.h.

◆ recyclePoolHold

template<typename T, int Step>
bool QRecyclePoolPrivate< T, Step >::recyclePoolHold

Definition at line 36 of file qrecyclepool_p.h.


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