Simulacrum  1.2
Public Member Functions | List of all members
Simulacrum::SLua Class Reference

#include <slua.h>

Inheritance diagram for Simulacrum::SLua:
Inheritance graph
Collaboration diagram for Simulacrum::SLua:
Collaboration graph

Public Member Functions

 SLua ()
 
 SLua (const std::string &)
 
 SLua (SURI)
 
virtual ~SLua ()
 
virtual void reset ()
 
virtual void setPrefix (const std::string &)
 
virtual std::string checkError (int)
 
virtual void exceptError (int)
 
virtual swig_type_info * queryType (const std::string &classname)
 
virtual int loadMem (const std::string &)
 
virtual int loadFile (SFile)
 
virtual int loadURI (SURI)
 
virtual void push (int)
 
virtual void push (double)
 
virtual void push (bool)
 
virtual void push (const std::string &)
 
virtual void push (SLUserDataP)
 
virtual void push (const SLVariant &)
 
virtual int pop (int &)
 
virtual int pop (double &)
 
virtual int pop (bool &)
 
virtual int pop (std::string &)
 
virtual int pop (SLUserDataP &)
 
virtual int pos (const std::string &)
 
virtual int exec ()
 
template<class rettype = int>
rettype operator() (const std::string &f, std::initializer_list< SLVariant > params)
 
- Public Member Functions inherited from Simulacrum::SLockable
virtual void lock ()
 
virtual void unlock ()
 
virtual bool try_lock ()
 
virtual void wait ()
 
virtual void refIncr ()
 
virtual void refDecr ()
 
virtual int refCount ()
 
 SLockable ()
 
 SLockable (const SLockable &)
 
virtual ~SLockable ()
 

Constructor & Destructor Documentation

◆ SLua() [1/3]

SLua::SLua ( )

◆ SLua() [2/3]

SLua::SLua ( const std::string &  src)

◆ SLua() [3/3]

SLua::SLua ( SURI  targ)

◆ ~SLua()

SLua::~SLua ( )
virtual

Member Function Documentation

◆ checkError()

std::string SLua::checkError ( int  status)
virtual

◆ exceptError()

void SLua::exceptError ( int  errorcode)
virtual

◆ exec()

int SLua::exec ( )
virtual

◆ loadFile()

int SLua::loadFile ( SFile  newf)
virtual

◆ loadMem()

int SLua::loadMem ( const std::string &  newprog)
virtual

◆ loadURI()

int SLua::loadURI ( SURI  nuri)
virtual

◆ operator()()

template<class rettype = int>
rettype Simulacrum::SLua::operator() ( const std::string &  f,
std::initializer_list< SLVariant params 
)
inline

◆ pop() [1/5]

int SLua::pop ( bool &  targ)
virtual

◆ pop() [2/5]

int SLua::pop ( double &  targ)
virtual

◆ pop() [3/5]

int SLua::pop ( int &  targ)
virtual

◆ pop() [4/5]

int SLua::pop ( SLUserDataP targ)
virtual

◆ pop() [5/5]

int SLua::pop ( std::string &  targ)
virtual

◆ pos()

int SLua::pos ( const std::string &  fname)
virtual

◆ push() [1/6]

void SLua::push ( bool  newb)
virtual

◆ push() [2/6]

void SLua::push ( const SLVariant newvariant)
virtual

◆ push() [3/6]

void SLua::push ( const std::string &  news)
virtual

◆ push() [4/6]

void SLua::push ( double  newd)
virtual

◆ push() [5/6]

void SLua::push ( int  newi)
virtual

◆ push() [6/6]

void SLua::push ( SLUserDataP  userdata)
virtual

◆ queryType()

swig_type_info * SLua::queryType ( const std::string &  classname)
virtual

◆ reset()

void SLua::reset ( )
virtual

◆ setPrefix()

void SLua::setPrefix ( const std::string &  newpref)
virtual

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