Qt 6.x
The Qt SDK
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()

◆ dispose()

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

Definition at line 150 of file qrecyclepool_p.h.

References QRecyclePoolPrivate< T, Step >::PoolType::nextAllocated, QRecyclePoolPrivate< T, Step >::nextAllocated, QRecyclePoolPrivate< T, Step >::outstandingItems, QRecyclePoolPrivate< T, Step >::PoolType::pool, Q_ASSERT, QRECYCLEPOOLCOOKIE, and QRecyclePoolPrivate< T, Step >::releaseIfPossible().

Referenced by QRecyclePool< T, Step >::Delete().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ releaseIfPossible()

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

Definition at line 109 of file qrecyclepool_p.h.

References QRecyclePoolPrivate< T, Step >::Page::nextPage.

Referenced by QRecyclePoolPrivate< T, Step >::dispose().

+ Here is the caller graph for this function:

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.

Referenced by QRecyclePoolPrivate< T, Step >::dispose().

◆ outstandingItems

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

Definition at line 37 of file qrecyclepool_p.h.

Referenced by QRecyclePoolPrivate< T, Step >::dispose().

◆ 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: