|
Free Electron
|
Component to Lua binding object. More...
#include <LuaComponent.h>
Inherits fe::ext::LuaObject< T, tid >.
Public Member Functions | |
| LuaComponentObject (LuaContext *pContext, const sp< Component > &data) | |
| void | setMethod (const String &name, lua_CFunction f) |
| bool | pushMethod (String &name) |
| void | populateMethods (void) |
| This is where you directly bind interfaces to lua. More... | |
| template<class T > | |
| bool | is (void) |
Static Public Member Functions | |
| static int | index (lua_State *pLuaState) |
| static int | newindex (lua_State *pLuaState) |
| static int | call (lua_State *pLuaState) |
| static int | name (lua_State *pLuaState) |
| static int | setName (lua_State *pLuaState) |
| static int | adjoin (lua_State *pLuaState) |
| static void | pushComponent (lua_State *pLuaState, sp< Component > spC) |
Private Attributes | |
| std::map< String, lua_CFunction > | m_methods |
Component to Lua binding object.
| void fe::ext::LuaComponentObject::populateMethods | ( | void | ) |
This is where you directly bind interfaces to lua.
1.8.13