![]() |
Qt 6.x
The Qt SDK
|
#include <qquickparticlesystem_p.h>
Collaboration diagram for QQuickParticleGroupData:Public Types | |
| enum | { InvalidID = -1 , DefaultGroupID = 0 } |
| typedef int | ID |
Public Member Functions | |
| QQuickParticleGroupData (const QString &name, QQuickParticleSystem *sys) | |
| ~QQuickParticleGroupData () | |
| int | size () const |
| bool | isActive () |
| QString | name () const |
| void | setSize (int newSize) |
| bool | recycle () |
| void | initList () |
| void | kill (QQuickParticleData *d) |
| QQuickParticleData * | newDatum (bool respectsLimits) |
| void | prepareRecycler (QQuickParticleData *d) |
Public Attributes | |
| const ID | index |
| QQuickParticleVarLengthArray< QQuickParticlePainter *, 4 > | painters |
| QVector< QQuickParticleData * > | data |
| FreeList | freeList |
| QQuickParticleDataHeap | dataHeap |
Definition at line 103 of file qquickparticlesystem_p.h.
| typedef int QQuickParticleGroupData::ID |
Definition at line 161 of file qquickparticlesystem_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| InvalidID | |
| DefaultGroupID | |
Definition at line 162 of file qquickparticlesystem_p.h.
| QQuickParticleGroupData::QQuickParticleGroupData | ( | const QString & | name, |
| QQuickParticleSystem * | sys | ||
| ) |
Definition at line 281 of file qquickparticlesystem.cpp.
References initList().
Here is the call graph for this function:| QQuickParticleGroupData::~QQuickParticleGroupData | ( | ) |
Definition at line 289 of file qquickparticlesystem.cpp.
References d.
| void QQuickParticleGroupData::initList | ( | ) |
Definition at line 318 of file qquickparticlesystem.cpp.
References QQuickParticleDataHeap::clear(), and dataHeap.
Referenced by QQuickParticleGroupData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 173 of file qquickparticlesystem_p.h.
| void QQuickParticleGroupData::kill | ( | QQuickParticleData * | d | ) |
| QString QQuickParticleGroupData::name | ( | ) | const |
Definition at line 295 of file qquickparticlesystem.cpp.
References QQuickParticleSystem::groupIds, and QHash< Key, T >::key().
Here is the call graph for this function:| QQuickParticleData * QQuickParticleGroupData::newDatum | ( | bool | respectsLimits | ) |
Definition at line 332 of file qquickparticlesystem.cpp.
References freeList, prepareRecycler(), Q_ASSERT, and setSize().
Here is the call graph for this function:| void QQuickParticleGroupData::prepareRecycler | ( | QQuickParticleData * | d | ) |
Definition at line 375 of file qquickparticlesystem.cpp.
References d, dataHeap, QQuickParticleDataHeap::insert(), QQuickParticleDataHeap::insertTimed(), QQuickParticleSystem::maxLife, roundedTime(), and QQuickParticleSystem::timeInt.
Referenced by newDatum(), and recycle().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QQuickParticleGroupData::recycle | ( | ) |
Definition at line 354 of file qquickparticlesystem.cpp.
References dataHeap, freeList, QQuickParticleDataHeap::pop(), prepareRecycler(), QQuickParticleSystem::timeInt, and QQuickParticleDataHeap::top().
Here is the call graph for this function:| void QQuickParticleGroupData::setSize | ( | int | newSize | ) |
Definition at line 300 of file qquickparticlesystem.cpp.
References freeList, QQuickParticleData::groupId, i, index, painters, and Q_ASSERT.
Referenced by newDatum().
Here is the caller graph for this function:
|
inline |
Definition at line 168 of file qquickparticlesystem_p.h.
Referenced by QQuickTrailEmitter::emitWindow().
Here is the caller graph for this function:| QVector<QQuickParticleData*> QQuickParticleGroupData::data |
Definition at line 183 of file qquickparticlesystem_p.h.
| QQuickParticleDataHeap QQuickParticleGroupData::dataHeap |
Definition at line 185 of file qquickparticlesystem_p.h.
Referenced by initList(), prepareRecycler(), and recycle().
| FreeList QQuickParticleGroupData::freeList |
Definition at line 184 of file qquickparticlesystem_p.h.
Referenced by kill(), newDatum(), recycle(), and setSize().
| const ID QQuickParticleGroupData::index |
Definition at line 179 of file qquickparticlesystem_p.h.
Referenced by setSize().
| QQuickParticleVarLengthArray<QQuickParticlePainter*, 4> QQuickParticleGroupData::painters |
Definition at line 180 of file qquickparticlesystem_p.h.