UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::script::lua::LuaWrapper Class Reference

#include <ugdk/script/languages/lua/luawrapper.h>

Inheritance diagram for ugdk::script::lua::LuaWrapper:
Collaboration diagram for ugdk::script::lua::LuaWrapper:

Public Member Functions

 LuaWrapper ()
 
 ~LuaWrapper ()
 
bool Initialize ()
 Overwritten methods. More...
 
void Finalize ()
 Finalizes the LangWrapper, finalizing any language specific stuff. More...
 
VirtualData::Ptr NewData ()
 
LuaDataNewLuaData ()
 
void ExecuteCode (const std::string &code)
 
VirtualObj LoadModule (const std::string &name)
 
VirtualData::Ptr OperateBuffer (const DataID operand_id, lua_CFunction op)
 Other methods. More...
 
DataGeardata_gear ()
 
void Share (DataGear *gear)
 
DataGearshared_gear ()
 
void AddToBuffer (DataID id)
 
void CleanBuffer ()
 
- Public Member Functions inherited from ugdk::script::InheritableLangWrapper< loader_t >
bool RegisterModule (const Module< loader_t > &module)
 
- Public Member Functions inherited from ugdk::script::LangWrapper
virtual ~LangWrapper ()
 
const std::string & file_extension ()
 
LangID lang_id ()
 
const std::string & lang_name () const
 

Additional Inherited Members

- Protected Member Functions inherited from ugdk::script::InheritableLangWrapper< loader_t >
 InheritableLangWrapper (const std::string &file_extension, const LangID id, const std::string &name)
 
- Protected Attributes inherited from ugdk::script::InheritableLangWrapper< loader_t >
std::vector< Module< loader_t > > modules_
 

Constructor & Destructor Documentation

ugdk::script::lua::LuaWrapper::LuaWrapper ( )
inline
ugdk::script::lua::LuaWrapper::~LuaWrapper ( )
inline

Member Function Documentation

void ugdk::script::lua::LuaWrapper::AddToBuffer ( DataID  id)
inline
void ugdk::script::lua::LuaWrapper::CleanBuffer ( )
inline
DataGear& ugdk::script::lua::LuaWrapper::data_gear ( )
inline
void ugdk::script::lua::LuaWrapper::ExecuteCode ( const std::string &  code)
virtual
void ugdk::script::lua::LuaWrapper::Finalize ( )
virtual

Finalizes the LangWrapper, finalizing any language specific stuff.

Implements ugdk::script::LangWrapper.

bool ugdk::script::lua::LuaWrapper::Initialize ( )
virtual

Overwritten methods.

Implements ugdk::script::LangWrapper.

VirtualObj ugdk::script::lua::LuaWrapper::LoadModule ( const std::string &  name)
virtual
VirtualData::Ptr ugdk::script::lua::LuaWrapper::NewData ( )
virtual
LuaData* ugdk::script::lua::LuaWrapper::NewLuaData ( )
VirtualData::Ptr ugdk::script::lua::LuaWrapper::OperateBuffer ( const DataID  operand_id,
lua_CFunction  op 
)

Other methods.

void ugdk::script::lua::LuaWrapper::Share ( DataGear gear)
inline
DataGear* ugdk::script::lua::LuaWrapper::shared_gear ( )
inline

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