SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
lua_BindHelpers.cpp File Reference

Namespaces

namespace  SDOM
 Contains all core classes and utilities for the SDOM library.
 

Functions

void SDOM::bind_noarg (const std::string &name, std::function< void()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_table (const std::string &name, std::function< void(const sol::table &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string (const std::string &name, std::function< void(const std::string &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_bool_arg (const std::string &name, std::function< void(bool)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_do_arg (const std::string &name, std::function< void(const DisplayHandle &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_object_arg (const std::string &name, std::function< void(const sol::object &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_displayobject (const std::string &name, std::function< DisplayHandle()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_bool (const std::string &name, std::function< bool()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_string (const std::string &name, std::function< std::string()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_float (const std::string &name, std::function< float()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_int (const std::string &name, std::function< int()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_vector_do (const std::string &name, std::function< std::vector< DisplayHandle >()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_return_vector_string (const std::string &name, std::function< std::vector< std::string >()> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_table_return_do (const std::string &name, std::function< DisplayHandle(const std::string &, const sol::table &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_table_return_asset (const std::string &name, std::function< AssetHandle(const std::string &, const sol::table &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_return_do (const std::string &name, std::function< DisplayHandle(const std::string &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_return_asset (const std::string &name, std::function< AssetHandle(const std::string &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_return_bool (const std::string &name, std::function< bool(const std::string &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_callback_bool (const std::string &name, std::function< void(std::function< bool()>)> registrar, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_callback_void (const std::string &name, std::function< void(std::function< void()>)> registrar, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_callback_update (const std::string &name, std::function< void(std::function< void(float)>)> registrar, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_callback_event (const std::string &name, std::function< void(std::function< void(const Event &)>)> registrar, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_callback_resize (const std::string &name, std::function< void(std::function< void(int, int)>)> registrar, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_string_function_forwarder (const std::string &name, std::function< void(const std::string &, const sol::function &)> func, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)
 
void SDOM::bind_name_or_handle (const std::string &name, std::function< void(const std::string &)> nameFunc, std::function< void(const DisplayHandle &)> handleFunc, sol::usertype< Core > &objHandleType, sol::table &coreTable, sol::state_view lua)