ZFFramework
 
Loading...
Searching...
No Matches
ZFThread_zfpost.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFThread_zfpost_h_
7#define _ZFI_ZFThread_zfpost_h_
8
9#include "ZFThread.h"
11
17 , ZFMP_IN(const ZFListener &, callback)
18 , ZFMP_IN_OPT(ZFThread *, target, zfnull)
19 )
20
22#endif // #ifndef _ZFI_ZFThread_zfpost_h_
23
#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 > zfpost(const ZFListener &callback, ZFThread *target=(zft_zfnull))
util to run code in specified thread or ZFThread::mainThread if not specified or not ZFThread::taskQu...
listener as ZFCallback, mostly used by ZFObject::observerNotify
Definition ZFObjectObserver.h:30
thread utility
Definition ZFThread.h:23
type restrict version of zfauto
Definition zfautoFwd.h:110