Public Member Functions | |
bool | activateHook () |
void | cleanupHook () |
bool | configureHook () |
void | errorHook () |
bool | exec_file (const std::string &file) |
bool | exec_str (const std::string &str) |
void | lua_repl () |
int | lua_repl (int argc, char **argv) |
LuaComponent (std::string name) | |
bool | startHook () |
void | stopHook () |
void | updateHook () |
~LuaComponent () | |
Protected Attributes | |
lua_State * | L |
std::string | lua_file |
std::string | lua_string |
os::MutexRecursive | m |
Definition at line 107 of file LuaComponent.cpp.
OCL::LuaComponent::LuaComponent | ( | std::string | name | ) | [inline] |
Definition at line 119 of file LuaComponent.cpp.
OCL::LuaComponent::~LuaComponent | ( | ) | [inline] |
Definition at line 171 of file LuaComponent.cpp.
bool OCL::LuaComponent::activateHook | ( | ) | [inline] |
Definition at line 231 of file LuaComponent.cpp.
void OCL::LuaComponent::cleanupHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 255 of file LuaComponent.cpp.
bool OCL::LuaComponent::configureHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 221 of file LuaComponent.cpp.
void OCL::LuaComponent::errorHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 261 of file LuaComponent.cpp.
bool OCL::LuaComponent::exec_file | ( | const std::string & | file | ) | [inline] |
Definition at line 188 of file LuaComponent.cpp.
bool OCL::LuaComponent::exec_str | ( | const std::string & | str | ) | [inline] |
Definition at line 198 of file LuaComponent.cpp.
void OCL::LuaComponent::lua_repl | ( | ) | [inline] |
Definition at line 209 of file LuaComponent.cpp.
int OCL::LuaComponent::lua_repl | ( | int | argc, |
char ** | argv | ||
) | [inline] |
Definition at line 215 of file LuaComponent.cpp.
bool OCL::LuaComponent::startHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 237 of file LuaComponent.cpp.
void OCL::LuaComponent::stopHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 249 of file LuaComponent.cpp.
void OCL::LuaComponent::updateHook | ( | ) | [inline, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 243 of file LuaComponent.cpp.
lua_State* OCL::LuaComponent::L [protected] |
Definition at line 112 of file LuaComponent.cpp.
std::string OCL::LuaComponent::lua_file [protected] |
Definition at line 111 of file LuaComponent.cpp.
std::string OCL::LuaComponent::lua_string [protected] |
Definition at line 110 of file LuaComponent.cpp.
os::MutexRecursive OCL::LuaComponent::m [protected] |
Definition at line 113 of file LuaComponent.cpp.