ScriptedEvent Class Reference

Internal class for allowing AngelScript to interface with the event system. More...

Inheritance diagram for ScriptedEvent:

Inheritance graph
[legend]
Collaboration diagram for ScriptedEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScriptedEvent (asIScriptObject *object, const std::string &function)
 Constructor (EventManager).
 ~ScriptedEvent ()
 Deconstructor.
void onEvent (void *p)
 Handles the emitted event.
void onDisconnect (void *p)
 Handles event disconnects.


Detailed Description

Internal class for allowing AngelScript to interface with the event system.

Definition at line 30 of file ScriptedEvent.h.


Constructor & Destructor Documentation

ScriptedEvent::ScriptedEvent ( asIScriptObject *  object,
const std::string &  function 
)

Constructor (EventManager).

Parameters:
object Reference to the AngelScript object that wants to connect to a signal.
function Name of the function to call when the event is emitted.

Definition at line 27 of file ScriptedEvent.cpp.

ScriptedEvent::~ScriptedEvent (  ) 

Deconstructor.

Definition at line 36 of file ScriptedEvent.cpp.


Member Function Documentation

void ScriptedEvent::onDisconnect ( void *  p  ) 

Handles event disconnects.

Definition at line 54 of file ScriptedEvent.cpp.

void ScriptedEvent::onEvent ( void *  p  ) 

Handles the emitted event.

Definition at line 43 of file ScriptedEvent.cpp.


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

Generated on Sun Aug 30 14:17:16 2009 for Sirrf - Simple Irrlicht Framework by  doxygen 1.5.8