Particle Universe  1.2
ParticleUniverse::SlaveBehaviourFactory Class Reference

#include <ParticleUniverseSlaveBehaviourFactory.h>

Inheritance diagram for ParticleUniverse::SlaveBehaviourFactory:

Public Member Functions

 SlaveBehaviourFactory (void)
 
virtual ~SlaveBehaviourFactory (void)
 
String getBehaviourType (void) const
 
ParticleBehaviourcreateBehaviour (void)
 
virtual void write (ParticleScriptSerializer *serializer, const IElement *element)
 
- Public Member Functions inherited from ParticleUniverse::ParticleBehaviourFactory
 ParticleBehaviourFactory (void)
 
virtual ~ParticleBehaviourFactory (void)
 
void destroyBehaviour (ParticleBehaviour *behaviour)
 
- Public Member Functions inherited from ParticleUniverse::ScriptReader
 ScriptReader (void)
 
virtual ~ScriptReader (void)
 
virtual void translate (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual bool translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual bool translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
- Public Member Functions inherited from ParticleUniverse::ScriptWriter
 ScriptWriter (void)
 
virtual ~ScriptWriter (void)
 

Protected Attributes

SlaveBehaviourWriter mSlaveBehaviourWriter
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

ParticleBehaviour* ParticleUniverse::SlaveBehaviourFactory::createBehaviour ( void  )
inlinevirtual
String ParticleUniverse::SlaveBehaviourFactory::getBehaviourType ( void  ) const
inlinevirtual
virtual void ParticleUniverse::SlaveBehaviourFactory::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

SlaveBehaviourWriter ParticleUniverse::SlaveBehaviourFactory::mSlaveBehaviourWriter
protected

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