Particle Universe  1.2
ParticleUniverse::EntityRendererFactory Class Reference

#include <ParticleUniverseEntityRendererFactory.h>

Inheritance diagram for ParticleUniverse::EntityRendererFactory:

Public Member Functions

 EntityRendererFactory (void)
 
virtual ~EntityRendererFactory (void)
 
String getRendererType (void) const
 
ParticleRenderercreateRenderer (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::ParticleRendererFactory
 ParticleRendererFactory (void)
 
virtual ~ParticleRendererFactory (void)
 
void destroyRenderer (ParticleRenderer *renderer)
 
- 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

EntityRendererWriter mEntityRendererWriter
 
EntityRendererTranslator mEntityRendererTranslator
 

Additional Inherited Members

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

Detailed Description

Factory class responsible for creating a EntityRenderer.

Constructor & Destructor Documentation

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

Member Function Documentation

ParticleRenderer* ParticleUniverse::EntityRendererFactory::createRenderer ( void  )
inlinevirtual
String ParticleUniverse::EntityRendererFactory::getRendererType ( void  ) const
inlinevirtual
virtual bool ParticleUniverse::EntityRendererFactory::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual bool ParticleUniverse::EntityRendererFactory::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual void ParticleUniverse::EntityRendererFactory::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

EntityRendererTranslator ParticleUniverse::EntityRendererFactory::mEntityRendererTranslator
protected
EntityRendererWriter ParticleUniverse::EntityRendererFactory::mEntityRendererWriter
protected

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