Ardour
9.0-pre0-350-gf17a656217
|
#include <Userdata.h>
Static Public Member Functions | |
static void * | place (lua_State *const L) |
template<class U > | |
static void | push (lua_State *const L, U const &u) |
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 | |
UserdataValue (UserdataValue< T > const &) | |
UserdataValue< T > | operator= (UserdataValue< T > const &) |
T * | getObject () |
UserdataValue () | |
~UserdataValue () | |
Private Attributes | |
char | m_storage [sizeof(T)] |
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 class object stored in a Lua userdata.
The lifetime of the object is managed by Lua. The object is constructed inside the userdata using placement new.
Definition at line 361 of file Userdata.h.
|
private |
|
inlineprivate |
Used for placement construction.
Definition at line 381 of file Userdata.h.
|
inlineprivate |
Definition at line 386 of file Userdata.h.
|
inlineprivate |
Definition at line 369 of file Userdata.h.
|
private |
|
inlinestatic |
Push a T via placement new.
The caller is responsible for calling placement new using the returned uninitialized storage.
Definition at line 398 of file Userdata.h.
|
inlinestatic |
Push T via copy construction from U.
Definition at line 413 of file Userdata.h.
|
private |
Definition at line 367 of file Userdata.h.