Generic CAM 0.1-PreAlpha
|
Wrapper for calling LUA. More...
#include <LUACodeEvaluator.h>
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 LUACodeEvaluator * | FindCallingClass (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 |
Machine * | linkedMachine |
size_t | componentToManipulate |
AffineTransformMatrix | matrix |
Wrapper for calling LUA.
LUACodeEvaluator::LUACodeEvaluator | ( | ) |
LUACodeEvaluator::~LUACodeEvaluator | ( | ) | [virtual] |
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] |
size_t LUACodeEvaluator::componentToManipulate [protected] |
lua_State* LUACodeEvaluator::L [protected] |
Machine* LUACodeEvaluator::linkedMachine [protected] |
AffineTransformMatrix LUACodeEvaluator::matrix [protected] |
wxString LUACodeEvaluator::programOutput [protected] |