Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

Lua Class Reference

Lua Interpeter. More...

#include <Lua.h>

Inheritance diagram for Lua:
LuaGui

List of all members.

Public Member Functions

 Lua ()
virtual ~Lua ()
int loadScript (const std::string &fileName)

Protected Attributes

lua_State * mLuaState

Private Member Functions

virtual void registerFunctions ()

Private Attributes

std::string mErrorMessage

Detailed Description

Lua Interpeter.

Todo:
Comment Me!

Constructor & Destructor Documentation

Lua::Lua (  ) 

Loads and initializes the Lua Interpreter.

Lua::~Lua (  )  [virtual]

Destructor


Member Function Documentation

int Lua::loadScript ( const std::string &  fileName  ) 
void Lua::registerFunctions (  )  [private, virtual]

Binds internal functions so that Lua scripts can gain access to them.

This function should be overloaded

Reimplemented in LuaGui.


Member Data Documentation

std::string Lua::mErrorMessage [private]

Interal Error Message

lua_State* Lua::mLuaState [protected]
Todo:
Comment me!

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines