rusEFI
The most advanced open source ECU
|
Functions | |
static int | lua_setTickRate (lua_State *l) |
static void | loadLibraries (LuaHandle &ls) |
static LuaHandle | setupLuaState (lua_Alloc alloc) |
static bool | loadScript (LuaHandle &ls, const char *scriptStr) |
static void | doInteractive (LuaHandle &ls) |
static void | invokeTick (LuaHandle &ls) |
static void | resetLua () |
static bool | runOneLua (lua_Alloc alloc, const char *script) |
void | startLua () |
static LuaHandle | runScript (const char *script) |
expected< float > | testLuaReturnsNumberOrNil (const char *script) |
float | testLuaReturnsNumber (const char *script) |
int | testLuaReturnsInteger (const char *script) |
void | testLuaExecString (const char *script) |
float | strtof_rusefi (const char *str, char **endPtr) |
Variables | |
static bool | withErrorLoading = false |
static int | luaTickPeriodUs |
static int | recentRxCount = 0 |
static int | totalRxCount = 0 |
static int | rxTime |
static bool | interactivePending = false |
static char | interactiveCmd [100] |
static uint32_t | maxLuaDuration {} |
static bool | needsReset = false |
static LuaThread | luaThread |
|
static |
Definition at line 113 of file lua.cpp.
Referenced by runOneLua().
|
static |
Definition at line 148 of file lua.cpp.
Referenced by runOneLua().
|
static |
Definition at line 42 of file lua.cpp.
Referenced by setupLuaState().
Definition at line 90 of file lua.cpp.
Referenced by runOneLua(), runScript(), and testLuaExecString().
|
static |
Definition at line 24 of file lua.cpp.
Referenced by setupLuaState().
|
static |
Definition at line 185 of file lua.cpp.
Referenced by runOneLua().
Definition at line 205 of file lua.cpp.
Definition at line 328 of file lua.cpp.
Referenced by testLuaReturnsInteger(), testLuaReturnsNumber(), and testLuaReturnsNumberOrNil().
|
static |
Definition at line 55 of file lua.cpp.
Referenced by runOneLua(), runScript(), and testLuaExecString().
void startLua | ( | ) |
Definition at line 281 of file lua.cpp.
Referenced by commonEarlyInit().
Definition at line 412 of file lua.cpp.
void testLuaExecString | ( | const char * | script | ) |
int testLuaReturnsInteger | ( | const char * | script | ) |
Definition at line 354 of file lua.cpp.
|
static |
Definition at line 111 of file lua.cpp.
Referenced by doInteractive(), and startLua().
|
static |
Definition at line 110 of file lua.cpp.
Referenced by doInteractive(), and startLua().
|
static |
Definition at line 279 of file lua.cpp.
Referenced by startLua().
|
static |
Definition at line 16 of file lua.cpp.
Referenced by lua_setTickRate(), and runOneLua().
|
static |
|
static |
Definition at line 196 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 19 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 21 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 20 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 15 of file lua.cpp.
Referenced by loadScript().