AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
IzScriptEngine Class Reference

Abstract base class that all script engines derive from. More...

#include <CzScript.h>

Inheritance diagram for IzScriptEngine:
CzScriptEngineLua

List of all members.

Public Member Functions

CzScenegetScene ()
 IzScriptEngine ()
virtual ~IzScriptEngine ()
virtual int Init (CzScene *scene)=0
virtual void Release ()=0
virtual int LoadScript (const char *script, int script_len, const char *name)=0
virtual int CallFunction (IzXomlResource *object, CzString *function_name, CzString *param1, CzString *param2, CzString *param3)=0
virtual CzXomlProperty getVariable (CzString *var_name)=0
virtual int CallFunctionRef (int function_ref, CzString *param1, CzString *param2, CzString *param3, CzString *param4)=0
virtual int CallFunctionRefWithObject (void *object, int function_ref, CzString *param1, CzString *param2, CzString *param3, CzString *param4)=0
virtual CzString getType ()=0

Protected Attributes

CzSceneScene
 Scene that contains this script engine.

Detailed Description

Abstract base class that all script engines derive from.


Constructor & Destructor Documentation

virtual IzScriptEngine::~IzScriptEngine ( ) [inline, virtual]

Member Function Documentation

virtual int IzScriptEngine::CallFunction ( IzXomlResource object,
CzString function_name,
CzString param1,
CzString param2,
CzString param3 
) [pure virtual]

Implemented in CzScriptEngineLua.

virtual int IzScriptEngine::CallFunctionRef ( int  function_ref,
CzString param1,
CzString param2,
CzString param3,
CzString param4 
) [pure virtual]

Implemented in CzScriptEngineLua.

virtual int IzScriptEngine::CallFunctionRefWithObject ( void *  object,
int  function_ref,
CzString param1,
CzString param2,
CzString param3,
CzString param4 
) [pure virtual]

Implemented in CzScriptEngineLua.

virtual CzString IzScriptEngine::getType ( ) [pure virtual]

Implemented in CzScriptEngineLua.

virtual CzXomlProperty IzScriptEngine::getVariable ( CzString var_name) [pure virtual]

Implemented in CzScriptEngineLua.

virtual int IzScriptEngine::Init ( CzScene scene) [pure virtual]

Implemented in CzScriptEngineLua.

virtual int IzScriptEngine::LoadScript ( const char *  script,
int  script_len,
const char *  name 
) [pure virtual]

Implemented in CzScriptEngineLua.

virtual void IzScriptEngine::Release ( ) [pure virtual]

Implemented in CzScriptEngineLua.


Member Data Documentation

Scene that contains this script engine.


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