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) |
int | lua_repl (int argc, char **argv) |
void | lua_repl () |
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::Mutex | m |
Definition at line 69 of file LuaComponent.cpp.
OCL::LuaComponent::LuaComponent | ( | std::string | name | ) | [inline] |
Definition at line 78 of file LuaComponent.cpp.
OCL::LuaComponent::~LuaComponent | ( | ) | [inline] |
Definition at line 110 of file LuaComponent.cpp.
bool OCL::LuaComponent::activateHook | ( | ) | [inline] |
Definition at line 160 of file LuaComponent.cpp.
void OCL::LuaComponent::cleanupHook | ( | ) | [inline] |
Definition at line 184 of file LuaComponent.cpp.
bool OCL::LuaComponent::configureHook | ( | ) | [inline] |
Definition at line 149 of file LuaComponent.cpp.
void OCL::LuaComponent::errorHook | ( | ) | [inline] |
Definition at line 190 of file LuaComponent.cpp.
bool OCL::LuaComponent::exec_file | ( | const std::string & | file | ) | [inline] |
Definition at line 116 of file LuaComponent.cpp.
bool OCL::LuaComponent::exec_str | ( | const std::string & | str | ) | [inline] |
Definition at line 126 of file LuaComponent.cpp.
int OCL::LuaComponent::lua_repl | ( | int | argc, | |
char ** | argv | |||
) | [inline] |
Definition at line 143 of file LuaComponent.cpp.
void OCL::LuaComponent::lua_repl | ( | ) | [inline] |
Definition at line 137 of file LuaComponent.cpp.
bool OCL::LuaComponent::startHook | ( | ) | [inline] |
Definition at line 166 of file LuaComponent.cpp.
void OCL::LuaComponent::stopHook | ( | ) | [inline] |
Definition at line 178 of file LuaComponent.cpp.
void OCL::LuaComponent::updateHook | ( | ) | [inline] |
Definition at line 172 of file LuaComponent.cpp.
lua_State* OCL::LuaComponent::L [protected] |
Definition at line 74 of file LuaComponent.cpp.
std::string OCL::LuaComponent::lua_file [protected] |
Definition at line 73 of file LuaComponent.cpp.
std::string OCL::LuaComponent::lua_string [protected] |
Definition at line 72 of file LuaComponent.cpp.
os::Mutex OCL::LuaComponent::m [protected] |
Definition at line 75 of file LuaComponent.cpp.