Particle Universe  1.2
ParticleUniverse::PositionEmitterFactory Class Reference

#include <ParticleUniversePositionEmitterFactory.h>

Inheritance diagram for ParticleUniverse::PositionEmitterFactory:

Public Member Functions

 PositionEmitterFactory (void)
 
virtual ~PositionEmitterFactory (void)
 
String getEmitterType (void) const
 
ParticleEmittercreateEmitter (void)
 
virtual bool translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual bool translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual void write (ParticleScriptSerializer *serializer, const IElement *element)
 
- Public Member Functions inherited from ParticleUniverse::ParticleEmitterFactory
 ParticleEmitterFactory (void)
 
virtual ~ParticleEmitterFactory (void)
 
void destroyEmitter (ParticleEmitter *emitter)
 
- Public Member Functions inherited from ParticleUniverse::ScriptReader
 ScriptReader (void)
 
virtual ~ScriptReader (void)
 
virtual void translate (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
- Public Member Functions inherited from ParticleUniverse::ScriptWriter
 ScriptWriter (void)
 
virtual ~ScriptWriter (void)
 

Protected Attributes

PositionEmitterWriter mPositionEmitterWriter
 
PositionEmitterTranslator mPositionEmitterTranslator
 

Additional Inherited Members

- Protected Member Functions inherited from ParticleUniverse::ParticleEmitterFactory
template<class T >
ParticleEmitter_createEmitter (void)
 

Detailed Description

This is the factory class that is responsible for creating a PositionEmitter.

Constructor & Destructor Documentation

ParticleUniverse::PositionEmitterFactory::PositionEmitterFactory ( void  )
inline
virtual ParticleUniverse::PositionEmitterFactory::~PositionEmitterFactory ( void  )
inlinevirtual

Member Function Documentation

ParticleEmitter* ParticleUniverse::PositionEmitterFactory::createEmitter ( void  )
inlinevirtual
String ParticleUniverse::PositionEmitterFactory::getEmitterType ( void  ) const
inlinevirtual
virtual bool ParticleUniverse::PositionEmitterFactory::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual bool ParticleUniverse::PositionEmitterFactory::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual void ParticleUniverse::PositionEmitterFactory::write ( ParticleScriptSerializer serializer,
const IElement element 
)
inlinevirtual

Child classes must implement this pure virtual function, which must be used to write an object or attribute to a particle script.

Implements ParticleUniverse::ScriptWriter.

Member Data Documentation

PositionEmitterTranslator ParticleUniverse::PositionEmitterFactory::mPositionEmitterTranslator
protected
PositionEmitterWriter ParticleUniverse::PositionEmitterFactory::mPositionEmitterWriter
protected

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