CMGDK r49-rc2
组合类型 | 名字空间 | 宏定义
K:/CMGDKv18/SDK/Include/hgl/platform/compiler/EventFunc.H文件参考
#include <hgl/object/_Object.H>

浏览该文件的源代码。

组合类型

struct  hgl::EventFunc< Func >

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


宏定义

#define SetEventCall(event_obj, obj_this, class_name, event_func)
#define SetEventThis(event_obj, obj_this)   event_obj.vp_this=obj_this;
#define CallEvent(event_obj, intro)   ((event_obj.this_pointer->*(event_obj.func_pointer))intro)
#define SafeCallEvent(event_obj, intro)   {if(event_obj.vp_func)CallEvent(event_obj,intro);}
#define DefEvent(result, name, intro)   EventFunc<result (_Object:: *)intro> name;

宏定义文档

#define CallEvent (   event_obj,
  intro 
)    ((event_obj.this_pointer->*(event_obj.func_pointer))intro)
#define DefEvent (   result,
  name,
  intro 
)    EventFunc<result (_Object:: *)intro> name;
#define SafeCallEvent (   event_obj,
  intro 
)    {if(event_obj.vp_func)CallEvent(event_obj,intro);}
#define SetEventCall (   event_obj,
  obj_this,
  class_name,
  event_func 
)
值:
{   \
                                                                            event_obj.vp_this=obj_this; \
                                                                            event_obj.vp_func=GetMemberFuncPointer(class_name,event_func);  \
                                                                        }
#define SetEventThis (   event_obj,
  obj_this 
)    event_obj.vp_this=obj_this;
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义