base class of all protocol of ZFFramework More...
#include <ZFProtocol.h>
Public Member Functions | |
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 * | protocolName (void) const |
get the name of the protocol module, e.g. "ZFObject" | |
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 | |
base class of all protocol of ZFFramework
|
inlinevirtual |
called to init the protocol
similar to ZFObject::objectOnInit, we have these functions for protocol to do custom init steps (ordered by life cycle):
|
inlinevirtual |
get the name of the protocol module, e.g. "ZFObject"
Reimplemented in ZFPInterface_ZFAniForNative, ZFPInterface_ZFApp, ZFPInterface_ZFAudio, ZFPInterface_ZFCompress, ZFPInterface_ZFEncrypt, ZFPInterface_ZFEnvInfo_deviceUIInfo, ZFPInterface_ZFEnvInfo_frameworkInfo, ZFPInterface_ZFEnvInfo_systemInfo, ZFPInterface_ZFFile, ZFPInterface_ZFFileCwd, ZFPInterface_ZFHttpRequest, ZFPInterface_ZFHttpServer, ZFPInterface_ZFImplOutput, ZFPInterface_ZFJson, ZFPInterface_ZFLogStackTrace, ZFPInterface_ZFLua, ZFPInterface_ZFPath, ZFPInterface_ZFRegExp, ZFPInterface_ZFRes, ZFPInterface_ZFSemaphore, ZFPInterface_ZFString, ZFPInterface_ZFTcp, ZFPInterface_ZFThread, ZFPInterface_ZFTime, ZFPInterface_ZFTimer, ZFPInterface_ZFUdp, ZFPInterface_ZFUIDraw, ZFPInterface_ZFUIDrawForImage, ZFPInterface_ZFUIDrawForView, ZFPInterface_ZFUIImage, ZFPInterface_ZFUIImageIO, ZFPInterface_ZFUIImageView, ZFPInterface_ZFUIKeyboardState, ZFPInterface_ZFUIOnScreenKeyboardState, ZFPInterface_ZFUIScrollView, ZFPInterface_ZFUISysWindow, ZFPInterface_ZFUISysWindowEmbedNativeView, ZFPInterface_ZFUITextEdit, ZFPInterface_ZFUITextView, ZFPInterface_ZFUIView, ZFPInterface_ZFUIViewCapture, ZFPInterface_ZFUIViewFocus, ZFPInterface_ZFUIViewPositionOnScreen, ZFPInterface_ZFUIViewTransform, ZFPInterface_ZFUIViewTreeNative, ZFPInterface_ZFUIWebJSBridge, ZFPInterface_ZFUIWebView, ZFPInterface_ZFWebSocket, and ZFPInterface_ZFXml.
|
inlinevirtual |
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