Sly Engine
BurstFactory Class Reference

#include <BurstFactory.h>

Collaboration diagram for BurstFactory:
Collaboration graph

Public Types

typedef ItemList::iterator StorageRef
 

Static Public Member Functions

static BurstCreateBurst (ParticleEffect *pe, int numParticles, float lifeTime, float speed, Vect pos, Matrix rot)
 
static void RecycleBurst (Burst *b)
 
static void Terminate ()
 

Private Types

typedef std::list< Burst * > ItemList
 

Private Member Functions

 BurstFactory ()
 
 BurstFactory (const BurstFactory &)=delete
 
 BurstFactory (BurstFactory &&)=delete
 
BurstFactoryoperator= (const BurstFactory &)=delete
 
BurstFactoryoperator= (BurstFactory &&)=delete
 
 ~BurstFactory ()=default
 
BurstprivCreateBurst (ParticleEffect *pe, int numParticles, float lifeTime, float speed, Vect pos, Matrix rot)
 
void privRecycleBurst (Burst *b)
 
void privTerminate ()
 

Static Private Member Functions

static BurstFactoryInstance ()
 

Private Attributes

BurstMemoryPool myBurstPool
 
ItemListactiveItems
 

Static Private Attributes

static BurstFactoryptrInstance = nullptr
 

Member Typedef Documentation

◆ ItemList

typedef std::list<Burst*> BurstFactory::ItemList
private

◆ StorageRef

typedef ItemList::iterator BurstFactory::StorageRef

Constructor & Destructor Documentation

◆ BurstFactory() [1/3]

BurstFactory::BurstFactory ( )
private
Here is the caller graph for this function:

◆ BurstFactory() [2/3]

BurstFactory::BurstFactory ( const BurstFactory )
privatedelete

◆ BurstFactory() [3/3]

BurstFactory::BurstFactory ( BurstFactory &&  )
privatedelete

◆ ~BurstFactory()

BurstFactory::~BurstFactory ( )
privatedefault

Member Function Documentation

◆ CreateBurst()

static Burst* BurstFactory::CreateBurst ( ParticleEffect pe,
int  numParticles,
float  lifeTime,
float  speed,
Vect  pos,
Matrix  rot 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Instance()

static BurstFactory& BurstFactory::Instance ( )
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

BurstFactory& BurstFactory::operator= ( BurstFactory &&  )
privatedelete

◆ operator=() [2/2]

BurstFactory& BurstFactory::operator= ( const BurstFactory )
privatedelete

◆ privCreateBurst()

Burst * BurstFactory::privCreateBurst ( ParticleEffect pe,
int  numParticles,
float  lifeTime,
float  speed,
Vect  pos,
Matrix  rot 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ privRecycleBurst()

void BurstFactory::privRecycleBurst ( Burst b)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ privTerminate()

void BurstFactory::privTerminate ( )
private
Here is the caller graph for this function:

◆ RecycleBurst()

static void BurstFactory::RecycleBurst ( Burst b)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Terminate()

static void BurstFactory::Terminate ( )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ activeItems

ItemList* BurstFactory::activeItems
private

◆ myBurstPool

BurstMemoryPool BurstFactory::myBurstPool
private

◆ ptrInstance

BurstFactory * BurstFactory::ptrInstance = nullptr
staticprivate

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