Fawkes API
Fawkes Development Version
|
Public Member Functions | |
LuaThread (fawkes::LuaContext *lua) | |
Constructor. | |
virtual void | loop () |
Loop method continuously calling agentenv.execute() in Lua. | |
bool | failed () |
Check if LuaThread failed. |
LuaAgentContinuousExecutionThread::LuaThread::LuaThread | ( | fawkes::LuaContext * | lua | ) |
Constructor.
lua | Lua context to use |
Definition at line 283 of file continuous_exec_thread.cpp.
References fawkes::Thread::set_prepfin_conc_loop().
bool LuaAgentContinuousExecutionThread::LuaThread::failed | ( | ) | [inline] |
Check if LuaThread failed.
Definition at line 93 of file continuous_exec_thread.h.
Referenced by LuaAgentContinuousExecutionThread::loop().
void LuaAgentContinuousExecutionThread::LuaThread::loop | ( | ) | [virtual] |
Loop method continuously calling agentenv.execute() in Lua.
Definition at line 295 of file continuous_exec_thread.cpp.
References fawkes::LuaContext::do_string(), fawkes::LoggingAspect::logger, fawkes::Logger::log_error(), and fawkes::Thread::name().