Public Member Functions | Protected Attributes
OCL::LuaComponent Class Reference
Inheritance diagram for OCL::LuaComponent:
Inheritance graph
[legend]

List of all members.

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_StateL
std::string lua_file
std::string lua_string
os::MutexRecursive m

Detailed Description

Definition at line 107 of file LuaComponent.cpp.


Constructor & Destructor Documentation

OCL::LuaComponent::LuaComponent ( std::string  name) [inline]

Definition at line 119 of file LuaComponent.cpp.

Definition at line 171 of file LuaComponent.cpp.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 113 of file LuaComponent.cpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:55