35 #ifndef OCL_LUACOMPONENT_HPP 36 #define OCL_LUACOMPONENT_HPP 39 #include <rtt/os/Mutex.hpp> 40 #include <rtt/TaskContext.hpp> 42 #include "LuaStateHandle.hpp" 54 std::string lua_string;
57 RTT::os::MutexRecursive m;
63 bool exec_file(
const std::string &file);
64 bool exec_str(
const std::string &str);
78 class LuaTLSFComponent :
public RTT::TaskContext
81 std::string lua_string;
84 RTT::os::MutexRecursive m;
88 LuaTLSFComponent(std::string name);
91 bool tlsf_incmem(
unsigned int size);
93 bool exec_file(
const std::string &file);
94 bool exec_str(
const std::string &str);
106 #endif // LUA_RTT_TLSF 109 #endif // OCL_LUACOMPONENT_HPP The Orocos Component Library.