Rocket::Core::EventInstancer Class Reference

#include <EventInstancer.h>

Inheritance diagram for Rocket::Core::EventInstancer:
Collaboration diagram for Rocket::Core::EventInstancer:

Public Member Functions

virtual EventInstanceEvent (Element *target, const String &name, const Dictionary &parameters, bool interruptible)=0
virtual void ReleaseEvent (Event *event)=0
virtual void Release ()=0
 Releases this event instancer.

Detailed Description

Abstract instancer interface for instancing events. This is required to be overridden for scripting systems.

Author:
Lloyd Weehuizen

Member Function Documentation

virtual Event* Rocket::Core::EventInstancer::InstanceEvent ( Element target,
const String name,
const Dictionary parameters,
bool  interruptible 
) [pure virtual]

Instance an event object.

Parameters:
[in] target Target element of this event.
[in] name Name of this event.
[in] parameters Additional parameters for this event.
[in] interruptible If the event propagation can be stopped.

Implemented in Rocket::Core::EventInstancerDefault, and Rocket::Core::Python::EventInstancer.

virtual void Rocket::Core::EventInstancer::ReleaseEvent ( Event event  )  [pure virtual]

Releases an event instanced by this instancer.

Parameters:
[in] event The event to release.

Implemented in Rocket::Core::EventInstancerDefault, and Rocket::Core::Python::EventInstancer.


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