protocol for ZFLua More...
#include <ZFProtocolZFLua.h>
Public Member Functions | |
virtual const zfchar * | protocolName (void) const |
get the name of the protocol module, e.g. "ZFObject" | |
virtual void * | luaStateOpen (void)=0 |
see ZFLuaStateOpen, ensured called in proper thread with proper mutex | |
virtual void | luaStateClose (void *L)=0 |
see ZFLuaStateClose, ensured called in proper thread with proper mutex | |
virtual void | luaStateAttach (void *L)=0 |
see ZFLuaStateAttach, ensured called in proper thread with proper mutex | |
virtual void | luaStateDetach (void *L)=0 |
see ZFLuaStateDetach, ensured called in proper thread with proper mutex | |
virtual void | classDataUpdate (void *L, const ZFClassDataUpdateData &data)=0 |
called when class or method changed, ensured called in proper thread with proper mutex | |
virtual zfbool | luaExecute (void *L, const ZFPathInfo &pathInfoOrNull, const ZFInput &input, zfauto *luaResult=zft_zfnull, const ZFCoreArray< zfauto > *luaParams=zft_zfnull, zfstring *errorHint=zft_zfnull)=0 |
see ZFLuaExecute, ensured called in proper thread with proper mutex, impl must supply all methods mentioned in ZFLuaExecute | |
virtual void | luaGC (void *L)=0 |
see ZFLuaGC, ensured called in proper thread with proper mutex | |
![]() | |
virtual void | protocolOnInit (void) |
called to init the protocol | |
virtual void | protocolOnInitFinish (void) |
see protocolOnInit | |
virtual void | protocolOnDeallocPrepare (void) |
see protocolOnInit | |
virtual void | protocolOnDealloc (void) |
see protocolOnInit | |
virtual ZFProtocolInstanceState | protocolInstanceState (void) |
protocol instance's state | |
virtual const zfchar * | protocolImplName (void) const |
get the name of the protocol implementation, e.g. "ZFObject_default" | |
virtual ZFProtocolLevel | protocolImplLevel (void) const |
get the level of the protocol implementation | |
virtual const zfchar * | protocolImplPlatformHint (void) const |
get type hint of the implementation or empty string if not defined, e.g. "iOS:NSString" for iOS's string impl, use ZFPROTOCOL_IMPLEMENTATION_PLATFORM_HINT to register | |
virtual void | objectInfoT (zfstring &ret) const |
see objectInfo | |
virtual zfstring | objectInfo (void) const |
get a short info about this object | |
Protected Types | |
typedef ZFProtocol | zfsuper |
class ref to super | |
typedef ZFPInterface_ZFLua | zfself |
class ref to self | |
protocol for ZFLua
impl must supply all protocol described by ZFLuaExecute
|
inlinevirtual |
get the name of the protocol module, e.g. "ZFObject"
Reimplemented from ZFProtocol.