29#ifndef _CEGUILuaFunctor_h_
30#define _CEGUILuaFunctor_h_
32#include "CEGUI/EventSet.h"
50 LuaFunctor(lua_State* state,
int func,
int selfIndex);
53 LuaFunctor(lua_State* state,
const int func,
const int selfIndex,
54 const String& error_handler);
56 const String& error_handler);
57 LuaFunctor(lua_State* state,
const int func,
const int selfIndex,
58 const int error_handler);
60 const int error_handler);
65 bool operator()(
const EventArgs& args)
const;
77 const int error_handler,
94 void invalidateLuaRefs();
99 mutable bool needs_lookup;
100 mutable String function_name;
103 mutable String d_errFuncName;
105 mutable int d_errFuncIndex;
107 mutable bool d_ourErrFuncIndex;
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:51
Interface providing event signaling and handling.
Definition: EventSet.h:167
Functor class used for subscribing Lua functions to CEGUI events.
Definition: Functor.h:48
static Event::Connection SubscribeEvent(EventSet *self, const String &eventName, const int funcIndex, const int selfIndex, const int error_handler, lua_State *L)
function used to subscribe any Lua function as event handler. References using the Lua registry....
static void pushNamedFunction(lua_State *L, const String &name)
Pushes the Lua function named.
Interface for the LuaScriptModule class.
Definition: ScriptModules/Lua/ScriptModule.h:60
String class used within the GUI system.
Definition: String.h:64
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1