ZFFramework
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | List of all members
ZFMethodInvokeData Class Reference

data to hold params for ZFMethodGenericInvoker More...

#include <ZFMethodDynamicRegisterExtra.h>

Inheritance diagram for ZFMethodInvokeData:
ZFObject

Public Types

enum  
 
- Public Types inherited from ZFObject
enum  
 

Public Member Functions

virtual const ZFClassclassData (void)
 get instance's class info
 
zfauto callSuper (void)
 for dynamic registered method to call parent's method
 
const zfautoparamAt (zfindex index)
 util to access param by index
 
ZFMethodInvokeDataparamSet (zfindex index, ZFObject *param)
 util to set param by index
 
virtual zfbool objectIsInternal (void)
 whether this object is internal object or its class is ZFClass::classIsInternal
 
virtual zfbool objectIsInternalPrivate (void)
 whether this object is internal private object or its class is ZFClass::classIsInternalPrivate
 
- Public Member Functions inherited from ZFObject
zfindex objectRetainCount (void)
 return the object's retain count
 
ZFObjectHolderobjectHolder (void)
 return an object holder that hold this object without affecting retain count
 
virtual void objectInfoOfInstanceT (zfstring &ret)
 see objectInfoOfInstance
 
virtual zfstring objectInfoOfInstance (void)
 return a short string describe the object instance
 
virtual void objectInfoT (zfstring &ret)
 see objectInfo
 
virtual zfstring objectInfo (void)
 return object info
 
virtual zfidentity objectHash (void)
 get hash of this object
 
virtual ZFCompareResult objectCompare (ZFObject *anotherObj)
 compare with anotherObj
 
virtual zfbool equalTo (ZFObject *anotherObj)
 util to objectCompare
 
virtual zfauto invoke (const zfchar *methodName)
 util method to perform ZFDI_invoke, do nothing if fail
 
virtual zfauto invoke (const zfchar *methodName, ZFObject *param0, ZFObject *param1=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param2=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param3=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param4=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param5=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param6=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef), ZFObject *param7=((ZFObject *const &) _ZFP_ZFMethodGenericInvokerDefaultParamRef))
 util method to perform ZFDI_invoke, do nothing if fail
 
virtual zfauto invokeDetail (const zfchar *methodName, const ZFCoreArray< zfauto > &params, zfbool *success=0, zfstring *errorHint=0)
 util method to perform ZFDI_invoke, do nothing if fail
 
zfbool objectTagExist (void)
 see objectTag, true if this object has tag, and tag can be checked by objectTagGetAllKeyValue
 
void objectTag (const zfchar *key, ZFObject *tag)
 used to hold a object for app's use, auto retained
 
zfany objectTag (const zfchar *key)
 see objectTag
 
void objectTagGetAllKeyValue (ZFCoreArray< zfstring > &allKey, ZFCoreArray< zfauto > &allValue)
 get all key value
 
void objectTagRemove (const zfchar *key)
 remove tag, same as set tag to null
 
zfauto objectTagRemoveAndGet (const zfchar *key)
 remove tag, return removed tag or null if not exist
 
void objectTagRemoveAll (void)
 remove all tag
 
void observerAdd (zfidentity eventId, const ZFListener &observer, ZFLevel observerLevel=ZFLevelAppNormal)
 see observerNotify
 
void observerAddForOnce (zfidentity eventId, const ZFListener &observer, ZFLevel observerLevel=ZFLevelAppNormal)
 see observerNotify
 
void observerRemove (zfidentity eventId, const ZFListener &callback)
 see observerNotify
 
void observerRemoveAll (zfidentity eventId)
 see observerNotify
 
void observerRemoveAll (void)
 see observerNotify
 
zfbool observerHasAdd (void)
 true if any observer has been added
 
zfbool observerHasAdd (zfidentity eventId)
 true if any observer with eventId has been added
 
void observerNotify (zfidentity eventId, ZFObject *param0=0, ZFObject *param1=0)
 notify the observer with eventId
 
void observerNotifyWithSender (ZFObject *customSender, zfidentity eventId, ZFObject *param0=0, ZFObject *param1=0)
 see observerNotify
 
ZFObserverobserverHolder (void)
 access the internal observer holder
 
ZFObjectInstanceState objectInstanceState (void)
 object instance's state
 
ZFV zfv (void)
 see ZFV
 

Static Public Member Functions

static const ZFClassClassData (void)
 get class info
 
- Static Public Member Functions inherited from ZFObject
static const ZFClassClassData (void)
 get class info
 
static zfidentity EventObjectBeforeAlloc (void)
 see ZFObject::observerNotify
 
static zfidentity EventObjectAfterAlloc (void)
 see ZFObject::observerNotify
 
static zfidentity EventObjectBeforeDealloc (void)
 see ZFObject::observerNotify
 
static zfidentity EventObjectPropertyValueOnUpdate (void)
 see ZFObject::observerNotify
 

Public Attributes

zfbool invokeSuccess
 data to hold params for ZFMethodGenericInvoker
 
const ZFMethodinvokerMethod
 data to hold params for ZFMethodGenericInvoker
 
zfany invokerObject
 data to hold params for ZFMethodGenericInvoker
 
zfstring errorHint
 data to hold params for ZFMethodGenericInvoker
 
zfauto ret
 data to hold params for ZFMethodGenericInvoker
 
zfauto param0
 data to hold params for ZFMethodGenericInvoker
 
zfauto param1
 data to hold params for ZFMethodGenericInvoker
 
zfauto param2
 data to hold params for ZFMethodGenericInvoker
 
zfauto param3
 data to hold params for ZFMethodGenericInvoker
 
zfauto param4
 data to hold params for ZFMethodGenericInvoker
 
zfauto param5
 data to hold params for ZFMethodGenericInvoker
 
zfauto param6
 data to hold params for ZFMethodGenericInvoker
 
zfauto param7
 data to hold params for ZFMethodGenericInvoker
 

Protected Types

typedef ZFObject zfsuper
 class ref to super
 
typedef ZFMethodInvokeData zfself
 class ref to self
 
- Protected Types inherited from ZFObject
typedef _ZFP_Obj_Base zfsuper
 class ref to super
 
typedef ZFObject zfself
 class ref to self
 

Additional Inherited Members

- Protected Member Functions inherited from ZFObject
virtual void objectInfoOnAppend (zfstring &ret)
 called by objectInfoT to append object info as a chain
 
virtual void observerOnAdd (zfidentity eventId)
 called when add first observer
 
virtual void observerOnRemove (zfidentity eventId)
 called when remove last observer
 
virtual void observerOnEvent (const ZFArgs &zfargs)
 notified when observerNotify
 
virtual void objectOnInit (void)
 override this to init your object
 
virtual void objectOnInitFinish (void)
 called after objectOnInit, safe to call virtual functions here
 
virtual void objectOnDeallocPrepare (void)
 called before objectOnDealloc, safe to call virtual functions here
 
virtual void objectOnDealloc (void)
 override this to destroy your object
 
virtual void objectOnRetain (void)
 called to retain object
 
virtual void objectOnRelease (void)
 called to release object
 
virtual void objectPropertyValueOnUpdate (const ZFProperty *property, const void *oldValue)
 see EventObjectPropertyValueOnUpdate
 

Detailed Description

data to hold params for ZFMethodGenericInvoker

Member Function Documentation

◆ classData()

virtual const ZFClass * ZFMethodInvokeData::classData ( void )
inlinevirtual

get instance's class info

Reimplemented from ZFObject.

◆ objectIsInternal()

virtual zfbool ZFMethodInvokeData::objectIsInternal ( void )
inlinevirtual

whether this object is internal object or its class is ZFClass::classIsInternal

if objectIsInternalPrivate, then it is also objectIsInternal

Reimplemented from ZFObject.

◆ objectIsInternalPrivate()

virtual zfbool ZFMethodInvokeData::objectIsInternalPrivate ( void )
inlinevirtual

whether this object is internal private object or its class is ZFClass::classIsInternalPrivate

if objectIsInternalPrivate, then it is also objectIsInternal

Reimplemented from ZFObject.


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