|
| LuaScriptingManager () |
| constructor More...
|
|
| ~LuaScriptingManager () |
| destructor More...
|
|
void | Tick () |
|
template<typename Ret , typename... args> |
std::enable_if< std::is_void< Ret >::value, Ret >::type | callScript (const std::string &file, const std::string &func, args...B) |
| executes the given method in the given script with return type void More...
|
|
template<typename Ret , typename... args> |
std::enable_if<!std::is_void< Ret >::value, std::shared_ptr< utils::Future< Ret > > >::type | callScript (const std::string &file, const std::string &func, args...B) |
| executes the given method in the given script with return type non-void More...
|
|
template<typename Ret , typename... args> |
std::enable_if< std::is_void< Ret >::value, Ret >::type | callFunction (const std::string &func, args...B) |
| executes the given method with return type void More...
|
|
template<typename Ret , typename... args> |
std::enable_if<!std::is_void< Ret >::value, std::shared_ptr< utils::Future< Ret > > >::type | callFunction (const std::string &func, args...B) |
| executes the given method with return type non-void More...
|
|
template<typename Ret , typename... args> |
std::enable_if< std::is_void< Ret >::value, Ret >::type | callScriptWithCallback (const std::string &file, const std::string &func, const std::function< void(void)> &callback, args...B) |
| executes the given method in the given script with return type void and calls callback after scripts was executed More...
|
|
template<typename Ret , typename... args> |
std::enable_if<!std::is_void< Ret >::value, std::shared_ptr< utils::Future< Ret > > >::type | callScriptWithCallback (const std::string &file, const std::string &func, const std::function< void(void)> &callback, args...B) |
| executes the given method in the given script with return type non-void and calls callback after scripts was executed More...
|
|
template<typename Ret , typename... args> |
std::enable_if< std::is_void< Ret >::value, Ret >::type | callFunctionWithCallback (const std::string &func, const std::function< void(void)> &callback, args...B) |
| executes the given method with return type void and calls callback after scripts was executed More...
|
|
template<typename Ret , typename... args> |
std::enable_if<!std::is_void< Ret >::value, std::shared_ptr< utils::Future< Ret > > >::type | callFunctionWithCallback (const std::string &func, const std::function< void(void)> &callback, args...B) |
| executes the given method with return type non-void and calls callback after scripts was executed More...
|
|
template<typename T > |
std::enable_if< std::is_pointer< T >::value >::type | setGlobalVariable (const std::string &name, T value) |
| sets a global variable More...
|
|
void | loadAllScripts () |
| loads all scripts into dictionary More...
|
|
Definition at line 48 of file LuaScriptingManager.h.