Particle Universe  1.2
ParticleUniverse::RandomiserFactory Class Reference

#include <ParticleUniverseRandomiserFactory.h>

Inheritance diagram for ParticleUniverse::RandomiserFactory:

Public Member Functions

 RandomiserFactory (void)
 
virtual ~RandomiserFactory (void)
 
String getAffectorType (void) const
 
ParticleAffectorcreateAffector (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::ParticleAffectorFactory
 ParticleAffectorFactory (void)
 
virtual ~ParticleAffectorFactory (void)
 
void destroyAffector (ParticleAffector *affector)
 
- 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

RandomiserWriter mRandomiserWriter
 
RandomiserTranslator mRandomiserTranslator
 

Additional Inherited Members

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

Detailed Description

Factory class responsible for creating the Randomiser.

Constructor & Destructor Documentation

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

Member Function Documentation

ParticleAffector* ParticleUniverse::RandomiserFactory::createAffector ( void  )
inlinevirtual
String ParticleUniverse::RandomiserFactory::getAffectorType ( void  ) const
inlinevirtual
virtual bool ParticleUniverse::RandomiserFactory::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual bool ParticleUniverse::RandomiserFactory::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual void ParticleUniverse::RandomiserFactory::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

RandomiserTranslator ParticleUniverse::RandomiserFactory::mRandomiserTranslator
protected
RandomiserWriter ParticleUniverse::RandomiserFactory::mRandomiserWriter
protected

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