Fawkes API  Fawkes Development Version
LuaAgentContinuousExecutionThread::LuaThread Class Reference
Inheritance diagram for LuaAgentContinuousExecutionThread::LuaThread:

List of all members.

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.

Constructor & Destructor Documentation

LuaAgentContinuousExecutionThread::LuaThread::LuaThread ( fawkes::LuaContext lua)

Constructor.

Parameters:
luaLua context to use

Definition at line 283 of file continuous_exec_thread.cpp.

References fawkes::Thread::set_prepfin_conc_loop().


Member Function Documentation

bool LuaAgentContinuousExecutionThread::LuaThread::failed ( ) [inline]

Check if LuaThread failed.

Returns:
true if an error occured, false otherwise.

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().


The documentation for this class was generated from the following files: