Particle Universe  1.2
ParticleUniverse::LineEmitterFactory Class Reference

#include <ParticleUniverseLineEmitterFactory.h>

Inheritance diagram for ParticleUniverse::LineEmitterFactory:

Public Member Functions

 LineEmitterFactory (void)
 
virtual ~LineEmitterFactory (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

LineEmitterWriter mLineEmitterWriter
 
LineEmitterTranslator mLineEmitterTranslator
 

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 LineEmitter.

Constructor & Destructor Documentation

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

Member Function Documentation

ParticleEmitter* ParticleUniverse::LineEmitterFactory::createEmitter ( void  )
inlinevirtual
String ParticleUniverse::LineEmitterFactory::getEmitterType ( void  ) const
inlinevirtual
virtual bool ParticleUniverse::LineEmitterFactory::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual bool ParticleUniverse::LineEmitterFactory::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual void ParticleUniverse::LineEmitterFactory::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

LineEmitterTranslator ParticleUniverse::LineEmitterFactory::mLineEmitterTranslator
protected
LineEmitterWriter ParticleUniverse::LineEmitterFactory::mLineEmitterWriter
protected

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