ReFRACtor
lua_callback.cc
Go to the documentation of this file.
1 #include "lua_callback.h"
2 using namespace FullPhysics;
3 #ifdef HAVE_LUA
4 #include "register_lua.h"
5 typedef luabind::object (LuaCallback::*f0)();
6 typedef luabind::object (LuaCallback::*f1)(const luabind::object&);
7 typedef luabind::object (LuaCallback::*f2)(const luabind::object&,
8  const luabind::object&);
9 typedef luabind::object (LuaCallback::*f3)(const luabind::object&,
10  const luabind::object&,
11  const luabind::object&);
12 typedef luabind::object (LuaCallback::*f4)(const luabind::object&,
13  const luabind::object&,
14  const luabind::object&,
15  const luabind::object&);
16 typedef luabind::object (LuaCallback::*f5)(const luabind::object&,
17  const luabind::object&,
18  const luabind::object&,
19  const luabind::object&,
20  const luabind::object&);
21 typedef luabind::object (LuaCallback::*f6)(const luabind::object&,
22  const luabind::object&,
23  const luabind::object&,
24  const luabind::object&,
25  const luabind::object&,
26  const luabind::object&);
27 typedef luabind::object (LuaCallback::*f7)(const luabind::object&,
28  const luabind::object&,
29  const luabind::object&,
30  const luabind::object&,
31  const luabind::object&,
32  const luabind::object&,
33  const luabind::object&);
34 typedef luabind::object (LuaCallback::*f8)(const luabind::object&,
35  const luabind::object&,
36  const luabind::object&,
37  const luabind::object&,
38  const luabind::object&,
39  const luabind::object&,
40  const luabind::object&,
41  const luabind::object&);
42 typedef luabind::object (LuaCallback::*f9)(const luabind::object&,
43  const luabind::object&,
44  const luabind::object&,
45  const luabind::object&,
46  const luabind::object&,
47  const luabind::object&,
48  const luabind::object&,
49  const luabind::object&,
50  const luabind::object&);
51 typedef luabind::object (LuaCallback::*f10)(const luabind::object&,
52  const luabind::object&,
53  const luabind::object&,
54  const luabind::object&,
55  const luabind::object&,
56  const luabind::object&,
57  const luabind::object&,
58  const luabind::object&,
59  const luabind::object&,
60  const luabind::object&);
62 .def("__call", (f0) &LuaCallback::__call)
63 .def("__call", (f1) &LuaCallback::__call)
64 .def("__call", (f2) &LuaCallback::__call)
65 .def("__call", (f3) &LuaCallback::__call)
66 .def("__call", (f4) &LuaCallback::__call)
67 .def("__call", (f5) &LuaCallback::__call)
68 .def("__call", (f6) &LuaCallback::__call)
69 .def("__call", (f7) &LuaCallback::__call)
70 .def("__call", (f8) &LuaCallback::__call)
71 .def("__call", (f9) &LuaCallback::__call)
72 .def("__call", (f10) &LuaCallback::__call)
74 
75 #endif
luabind::object __call()
Definition: lua_callback.h:183
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
This is a simple object to call a callback that can be used in Lua.
Definition: lua_callback.h:11
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10