Sly Engine
ParticleMemoryPool Class Reference

#include <ParticleMemoryPool.h>

Collaboration diagram for ParticleMemoryPool:
Collaboration graph

Public Member Functions

 ParticleMemoryPool ()=default
 
 ParticleMemoryPool (const ParticleMemoryPool &)=delete
 
 ParticleMemoryPool (ParticleMemoryPool &&)=delete
 
ParticleMemoryPooloperator= (const ParticleMemoryPool &)=delete
 
ParticleMemoryPooloperator= (ParticleMemoryPool &&)=delete
 
 ~ParticleMemoryPool ()
 
ParticlegetParticle ()
 
void returnParticle (Particle *theParticle)
 

Private Attributes

std::stack< Particle * > recycledItems
 

Constructor & Destructor Documentation

◆ ParticleMemoryPool() [1/3]

ParticleMemoryPool::ParticleMemoryPool ( )
default

◆ ParticleMemoryPool() [2/3]

ParticleMemoryPool::ParticleMemoryPool ( const ParticleMemoryPool )
delete

◆ ParticleMemoryPool() [3/3]

ParticleMemoryPool::ParticleMemoryPool ( ParticleMemoryPool &&  )
delete

◆ ~ParticleMemoryPool()

ParticleMemoryPool::~ParticleMemoryPool ( )

Member Function Documentation

◆ getParticle()

Particle * ParticleMemoryPool::getParticle ( )
Here is the caller graph for this function:

◆ operator=() [1/2]

ParticleMemoryPool& ParticleMemoryPool::operator= ( const ParticleMemoryPool )
delete

◆ operator=() [2/2]

ParticleMemoryPool& ParticleMemoryPool::operator= ( ParticleMemoryPool &&  )
delete

◆ returnParticle()

void ParticleMemoryPool::returnParticle ( Particle theParticle)
Here is the caller graph for this function:

Member Data Documentation

◆ recycledItems

std::stack<Particle*> ParticleMemoryPool::recycledItems
private

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