Particle Universe
1.2
|
#include <ParticleUniverseObserverFactory.h>
Public Member Functions | |
ParticleObserverFactory (void) | |
virtual | ~ParticleObserverFactory (void) |
virtual String | getObserverType (void) const =0 |
virtual ParticleObserver * | createObserver (void)=0 |
void | destroyObserver (ParticleObserver *observer) |
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) |
virtual void | write (ParticleScriptSerializer *serializer, const IElement *element)=0 |
Protected Member Functions | |
template<class T > | |
ParticleObserver * | _createObserver (void) |
This is the base factory of all ParticleObserver implementations.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Creates a new observer instance.
Implemented in ParticleUniverse::OnClearObserverFactory, ParticleUniverse::OnCollisionObserverFactory, ParticleUniverse::OnCountObserverFactory, ParticleUniverse::OnEmissionObserverFactory, ParticleUniverse::OnEventFlagObserverFactory, ParticleUniverse::OnExpireObserverFactory, ParticleUniverse::OnPositionObserverFactory, ParticleUniverse::OnQuotaObserverFactory, ParticleUniverse::OnRandomObserverFactory, ParticleUniverse::OnTimeObserverFactory, and ParticleUniverse::OnVelocityObserverFactory.
|
inline |
Delete an observer
|
pure virtual |
Returns the type of the factory, which identifies the particle observer type this factory creates.
Implemented in ParticleUniverse::OnClearObserverFactory, ParticleUniverse::OnCollisionObserverFactory, ParticleUniverse::OnCountObserverFactory, ParticleUniverse::OnEmissionObserverFactory, ParticleUniverse::OnEventFlagObserverFactory, ParticleUniverse::OnExpireObserverFactory, ParticleUniverse::OnPositionObserverFactory, ParticleUniverse::OnQuotaObserverFactory, ParticleUniverse::OnRandomObserverFactory, ParticleUniverse::OnTimeObserverFactory, and ParticleUniverse::OnVelocityObserverFactory.