ZFFramework
 
Loading...
Searching...
No Matches
ZFThread_zfasync.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFThread_zfasync_h_
7#define _ZFI_ZFThread_zfasync_h_
8
9#include "ZFThread.h"
11
35 , ZFMP_IN(const ZFListener &, callback)
36 , ZFMP_IN_OPT(const ZFListener &, finishCallback, zfnull)
37 )
38
40#endif // #ifndef _ZFI_ZFThread_zfasync_h_
41
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
thread utility
zfautoT< ZFTaskId > zfasync(const ZFListener &callback, const ZFListener &finishCallback=(zft_zfnull))
util to run code asynchronizely
listener as ZFCallback, mostly used by ZFObject::observerNotify
Definition ZFObjectObserver.h:30
type restrict version of zfauto
Definition zfautoFwd.h:110