#include <ScriptEnvironment.hpp>
|
static sol::table | lua_mountLib (sol::this_state state, const std::string &libraryName) |
◆ ScriptEnvironment() [1/3]
l61::ScriptEngine::ScriptEnvironment::ScriptEnvironment |
( |
l61_stat & | scriptCtx | ) |
|
|
explicitprotected |
◆ ScriptEnvironment() [2/3]
l61::ScriptEngine::ScriptEnvironment::ScriptEnvironment |
( |
const ScriptEnvironment & | | ) |
|
|
delete |
◆ ScriptEnvironment() [3/3]
◆ ~ScriptEnvironment()
l61::ScriptEngine::ScriptEnvironment::~ScriptEnvironment |
( |
| ) |
|
|
overridedefault |
◆ addValue()
template<class T>
void l61::ScriptEngine::ScriptEnvironment::addValue |
( |
const std::string & | key, |
|
|
T && | value ) |
|
inline |
◆ attachDebugger()
◆ exec()
void l61::ScriptEngine::ScriptEnvironment::exec |
( |
const std::string & | code | ) |
|
|
final |
for user input
- Parameters
-
◆ getLuaCtx()
sol::state & l61::ScriptEngine::ScriptEnvironment::getLuaCtx |
( |
| ) |
|
|
overrideprotected |
◆ getScriptCtx()
l61_stat & l61::ScriptEngine::ScriptEnvironment::getScriptCtx |
( |
| ) |
|
|
protected |
◆ getValue()
template<class T>
T l61::ScriptEngine::ScriptEnvironment::getValue |
( |
const std::string & | key | ) |
|
|
inline |
◆ has()
bool l61::ScriptEngine::ScriptEnvironment::has |
( |
const std::string & | key | ) |
|
◆ lib61_setup()
void l61::ScriptEngine::ScriptEnvironment::lib61_setup |
( |
| ) |
|
|
protected |
◆ lua_mountLib()
sol::table l61::ScriptEngine::ScriptEnvironment::lua_mountLib |
( |
sol::this_state | state, |
|
|
const std::string & | libraryName ) |
|
staticprotected |
◆ makeTable()
sol::table l61::ScriptEngine::ScriptEnvironment::makeTable |
( |
const std::string & | name | ) |
|
◆ operator=()
◆ runCodeBlock()
sol::protected_function_result l61::ScriptEngine::ScriptEnvironment::runCodeBlock |
( |
const std::string & | luaCode | ) |
|
|
override |
◆ setValue()
template<class T>
void l61::ScriptEngine::ScriptEnvironment::setValue |
( |
const std::string & | key, |
|
|
const T & | value ) |
|
inline |
◆ specialRun()
void l61::ScriptEngine::ScriptEnvironment::specialRun |
( |
const std::function< void(sol::state &)> & | func | ) |
|
|
override |
◆ AbstractScriptDebugger
◆ standard_lua_debugger_hook
void standard_lua_debugger_hook |
( |
lua_State * | L, |
|
|
lua_Debug * | D ) |
|
friend |
◆ luaCtx
sol::state l61::ScriptEngine::ScriptEnvironment::luaCtx |
|
private |
◆ script_debugger_
◆ scriptCtx
l61_stat& l61::ScriptEngine::ScriptEnvironment::scriptCtx |
|
private |
The documentation for this class was generated from the following files: