ReFRACtor
FullPhysics::LuaCallback Class Referenceabstract

This is a simple object to call a callback that can be used in Lua. More...

#include <lua_callback.h>

+ Inheritance diagram for FullPhysics::LuaCallback:
+ Collaboration diagram for FullPhysics::LuaCallback:

Public Member Functions

 LuaCallback (const LuaState &Ls)
 
virtual ~LuaCallback ()
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5, const luabind::object &obj6, const luabind::object &obj7, const luabind::object &obj8, const luabind::object &obj9, const luabind::object &obj10)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5, const luabind::object &obj6, const luabind::object &obj7, const luabind::object &obj8, const luabind::object &obj9)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5, const luabind::object &obj6, const luabind::object &obj7, const luabind::object &obj8)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5, const luabind::object &obj6, const luabind::object &obj7)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5, const luabind::object &obj6)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4, const luabind::object &obj5)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3, const luabind::object &obj4)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2, const luabind::object &obj3)
 
luabind::object __call (const luabind::object &obj1, const luabind::object &obj2)
 
luabind::object __call (const luabind::object &obj1)
 
luabind::object __call ()
 
virtual boost::shared_ptr< LuabindObjectcall (const boost::shared_ptr< LuabindObject > &Obj1, const boost::shared_ptr< LuabindObject > &Obj2, const boost::shared_ptr< LuabindObject > &Obj3, const boost::shared_ptr< LuabindObject > &Obj4, const boost::shared_ptr< LuabindObject > &Obj5, const boost::shared_ptr< LuabindObject > &Obj6, const boost::shared_ptr< LuabindObject > &Obj7, const boost::shared_ptr< LuabindObject > &Obj8, const boost::shared_ptr< LuabindObject > &Obj9, const boost::shared_ptr< LuabindObject > &Obj10)=0
 
virtual void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 

Detailed Description

This is a simple object to call a callback that can be used in Lua.

The function can then execute C++ or Python code.

Definition at line 11 of file lua_callback.h.

Constructor & Destructor Documentation

◆ LuaCallback()

FullPhysics::LuaCallback::LuaCallback ( const LuaState Ls)
inline

Definition at line 13 of file lua_callback.h.

◆ ~LuaCallback()

virtual FullPhysics::LuaCallback::~LuaCallback ( )
inlinevirtual

Definition at line 14 of file lua_callback.h.

Member Function Documentation

◆ __call() [1/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5,
const luabind::object &  obj6,
const luabind::object &  obj7,
const luabind::object &  obj8,
const luabind::object &  obj9,
const luabind::object &  obj10 
)
inline

Definition at line 27 of file lua_callback.h.

◆ __call() [2/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5,
const luabind::object &  obj6,
const luabind::object &  obj7,
const luabind::object &  obj8,
const luabind::object &  obj9 
)
inline

Definition at line 50 of file lua_callback.h.

◆ __call() [3/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5,
const luabind::object &  obj6,
const luabind::object &  obj7,
const luabind::object &  obj8 
)
inline

Definition at line 72 of file lua_callback.h.

◆ __call() [4/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5,
const luabind::object &  obj6,
const luabind::object &  obj7 
)
inline

Definition at line 92 of file lua_callback.h.

◆ __call() [5/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5,
const luabind::object &  obj6 
)
inline

Definition at line 111 of file lua_callback.h.

◆ __call() [6/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4,
const luabind::object &  obj5 
)
inline

Definition at line 128 of file lua_callback.h.

◆ __call() [7/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3,
const luabind::object &  obj4 
)
inline

Definition at line 143 of file lua_callback.h.

◆ __call() [8/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2,
const luabind::object &  obj3 
)
inline

Definition at line 156 of file lua_callback.h.

◆ __call() [9/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1,
const luabind::object &  obj2 
)
inline

Definition at line 167 of file lua_callback.h.

◆ __call() [10/11]

luabind::object FullPhysics::LuaCallback::__call ( const luabind::object &  obj1)
inline

Definition at line 176 of file lua_callback.h.

◆ __call() [11/11]

luabind::object FullPhysics::LuaCallback::__call ( )
inline

Definition at line 183 of file lua_callback.h.

◆ call()

virtual boost::shared_ptr<LuabindObject> FullPhysics::LuaCallback::call ( const boost::shared_ptr< LuabindObject > &  Obj1,
const boost::shared_ptr< LuabindObject > &  Obj2,
const boost::shared_ptr< LuabindObject > &  Obj3,
const boost::shared_ptr< LuabindObject > &  Obj4,
const boost::shared_ptr< LuabindObject > &  Obj5,
const boost::shared_ptr< LuabindObject > &  Obj6,
const boost::shared_ptr< LuabindObject > &  Obj7,
const boost::shared_ptr< LuabindObject > &  Obj8,
const boost::shared_ptr< LuabindObject > &  Obj9,
const boost::shared_ptr< LuabindObject > &  Obj10 
)
pure virtual

◆ print()

virtual void FullPhysics::LuaCallback::print ( std::ostream &  Os) const
inlinevirtual

Definition at line 15 of file lua_callback.h.

◆ print_to_string()

std::string FullPhysics::Printable< LuaCallback >::print_to_string ( ) const
inlineinherited

Print to string.

This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.

Definition at line 31 of file printable.h.


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

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:13