Particle Universe
1.2
|
#include <ParticleUniverseEventHandlerFactory.h>
Public Member Functions | |
ParticleEventHandlerFactory (void) | |
virtual | ~ParticleEventHandlerFactory (void) |
virtual String | getEventHandlerType (void) const =0 |
virtual ParticleEventHandler * | createEventHandler (void)=0 |
void | destroyEventHandler (ParticleEventHandler *eventHandler) |
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 > | |
ParticleEventHandler * | _createEventHandler (void) |
This is the base factory of all ParticleEventHandler implementations.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Creates a new event handler instance.
Implemented in ParticleUniverse::DoAffectorEventHandlerFactory, ParticleUniverse::DoEnableComponentEventHandlerFactory, ParticleUniverse::DoExpireEventHandlerFactory, ParticleUniverse::DoFreezeEventHandlerFactory, ParticleUniverse::DoPlacementParticleEventHandlerFactory, ParticleUniverse::DoScaleEventHandlerFactory, and ParticleUniverse::DoStopSystemEventHandlerFactory.
|
inline |
Delete an event handler
|
pure virtual |
Returns the type of the factory, which identifies the event handler type this factory creates.
Implemented in ParticleUniverse::DoAffectorEventHandlerFactory, ParticleUniverse::DoEnableComponentEventHandlerFactory, ParticleUniverse::DoExpireEventHandlerFactory, ParticleUniverse::DoFreezeEventHandlerFactory, ParticleUniverse::DoPlacementParticleEventHandlerFactory, ParticleUniverse::DoScaleEventHandlerFactory, and ParticleUniverse::DoStopSystemEventHandlerFactory.