Generic CAM 0.1-PreAlpha

LUACodeEvaluator Class Reference

Wrapper for calling LUA. More...

#include <LUACodeEvaluator.h>

Collaboration diagram for LUACodeEvaluator:

List of all members.

Public Member Functions

 LUACodeEvaluator ()
virtual ~LUACodeEvaluator ()
void LinkToMachine (Machine *machine)
void InsertVariable (wxString vName, float vValue)
bool EvaluateProgram ()
bool EvaluateAssembly ()
void StopEvaluation ()
wxString GetOutput ()

Static Public Member Functions

static LUACodeEvaluatorFindCallingClass (lua_State *L)
static void HookRoutine (lua_State *L, lua_Debug *ar)
static int print_glue (lua_State *L)
static int identity_glue (lua_State *L)
static int box_glue (lua_State *L)
static int cylinder_glue (lua_State *L)
static int setstyle_glue (lua_State *L)
static int toolholder_glue (lua_State *L)
static int tableorigin_glue (lua_State *L)
static int addcomponent_glue (lua_State *L)
static int translate_glue (lua_State *L)
static int rotate_glue (lua_State *L)
static int placecomponent_glue (lua_State *L)
static int loadstl_glue (lua_State *L)

Protected Attributes

lua_State * L
wxString programOutput
MachinelinkedMachine
size_t componentToManipulate
AffineTransformMatrix matrix

Detailed Description

Wrapper for calling LUA.


Constructor & Destructor Documentation

LUACodeEvaluator::LUACodeEvaluator ( )
LUACodeEvaluator::~LUACodeEvaluator ( ) [virtual]

Member Function Documentation

int LUACodeEvaluator::addcomponent_glue ( lua_State *  L) [static]
int LUACodeEvaluator::box_glue ( lua_State *  L) [static]
int LUACodeEvaluator::cylinder_glue ( lua_State *  L) [static]
bool LUACodeEvaluator::EvaluateAssembly ( )
bool LUACodeEvaluator::EvaluateProgram ( )
LUACodeEvaluator * LUACodeEvaluator::FindCallingClass ( lua_State *  L) [static]
wxString LUACodeEvaluator::GetOutput ( )
void LUACodeEvaluator::HookRoutine ( lua_State *  L,
lua_Debug *  ar 
) [static]
int LUACodeEvaluator::identity_glue ( lua_State *  L) [static]
void LUACodeEvaluator::InsertVariable ( wxString  vName,
float  vValue 
)
void LUACodeEvaluator::LinkToMachine ( Machine machine)
int LUACodeEvaluator::loadstl_glue ( lua_State *  L) [static]
int LUACodeEvaluator::placecomponent_glue ( lua_State *  L) [static]
int LUACodeEvaluator::print_glue ( lua_State *  L) [static]
int LUACodeEvaluator::rotate_glue ( lua_State *  L) [static]
int LUACodeEvaluator::setstyle_glue ( lua_State *  L) [static]
void LUACodeEvaluator::StopEvaluation ( )
int LUACodeEvaluator::tableorigin_glue ( lua_State *  L) [static]
int LUACodeEvaluator::toolholder_glue ( lua_State *  L) [static]
int LUACodeEvaluator::translate_glue ( lua_State *  L) [static]

Member Data Documentation

lua_State* LUACodeEvaluator::L [protected]
wxString LUACodeEvaluator::programOutput [protected]

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