Ardour
9.0-pre0-582-g084a23a80d
|
#include <Userdata.h>
Static Public Member Functions | |
template<class T > | |
static void | push (lua_State *const L, T *const p) |
template<class T > | |
static void | push (lua_State *const L, T const *const p) |
Static Public Member Functions inherited from Userdata | |
static void * | get_ptr (lua_State *L, int index) |
template<class T > | |
static Userdata * | getExact (lua_State *L, int index) |
template<class T > | |
static T * | get (lua_State *L, int index, bool canBeConst) |
template<class T > | |
static T * | try_get (lua_State *L, int index, bool canBeConst) |
Private Member Functions | |
UserdataPtr (UserdataPtr const &) | |
UserdataPtr | operator= (UserdataPtr const &) |
UserdataPtr (void *const p) | |
Static Private Member Functions | |
static void | push (lua_State *L, void *const p, void const *const key) |
static void | push (lua_State *L, void const *const p, void const *const key) |
static void | push_raw (lua_State *const L, void *p, const void *classkey) |
Friends | |
class | LuaRef |
Additional Inherited Members | |
Public Member Functions inherited from Userdata | |
virtual | ~Userdata () |
Protected Member Functions inherited from Userdata | |
void * | getPointer () const |
Protected Attributes inherited from Userdata | |
void * | m_p |
Wraps a pointer to a class object inside a Lua userdata.
The lifetime of the object is managed by C++.
Definition at line 425 of file Userdata.h.
|
private |
|
inlineexplicitprivate |
Definition at line 469 of file Userdata.h.
|
private |
|
inlinestatic |
Push non-const pointer to object.
Definition at line 491 of file Userdata.h.
|
inlinestatic |
Push const pointer to object.
Definition at line 502 of file Userdata.h.
|
inlinestaticprivate |
Push non-const pointer to object using metatable key.
Definition at line 434 of file Userdata.h.
|
inlinestaticprivate |
Push const pointer to object using metatable key.
Definition at line 452 of file Userdata.h.
|
inlinestaticprivate |
Definition at line 479 of file Userdata.h.
|
friend |
Definition at line 478 of file Userdata.h.