YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::GEventWrapper< _tEvent, _tBaseArgs > 模板类 参考

事件处理器包装类模板。 更多...

#include <yevt.hpp>

类 YSLib::GEventWrapper< _tEvent, _tBaseArgs > 继承关系图:
YSLib::GEventWrapper< _tEvent, _tBaseArgs > 的协作图:

Public 类型

typedef _tEvent EventType
 
typedef _tBaseArgs BaseArgsType
 
typedef EventType::EventArgsType EventArgsType
 

Public 成员函数

virtual size_t operator() (BaseArgsType e) const
 委托调用。
 
virtual GEventWrapperClone () const override
 
- Public 成员函数 继承自 YSLib::GIHEvent< _tBaseArgs >
virtual ~GIHEvent ()
 
virtual size_t operator() (_tParams...) const =0
 

详细描述

template<class _tEvent, typename _tBaseArgs>
class YSLib::GEventWrapper< _tEvent, _tBaseArgs >

事件处理器包装类模板。

自从
build 173

在文件 yevt.hpp662 行定义.

成员类型定义说明

template<class _tEvent, typename _tBaseArgs>
typedef _tBaseArgs YSLib::GEventWrapper< _tEvent, _tBaseArgs >::BaseArgsType

在文件 yevt.hpp667 行定义.

template<class _tEvent, typename _tBaseArgs>
typedef EventType::EventArgsType YSLib::GEventWrapper< _tEvent, _tBaseArgs >::EventArgsType

在文件 yevt.hpp668 行定义.

template<class _tEvent, typename _tBaseArgs>
typedef _tEvent YSLib::GEventWrapper< _tEvent, _tBaseArgs >::EventType

在文件 yevt.hpp666 行定义.

成员函数说明

template<class _tEvent, typename _tBaseArgs>
virtual GEventWrapper* YSLib::GEventWrapper< _tEvent, _tBaseArgs >::Clone ( ) const
inlineoverridevirtual

实现了 YSLib::GIHEvent< _tBaseArgs >.

在文件 yevt.hpp682 行定义.

template<class _tEvent, typename _tBaseArgs>
virtual size_t YSLib::GEventWrapper< _tEvent, _tBaseArgs >::operator() ( BaseArgsType  e) const
inlinevirtual

委托调用。

警告
需要确保 BaseArgsType 引用的对象能够转换至 EventArgsType 。
自从
build 331

在文件 yevt.hpp676 行定义.


该类的文档由以下文件生成: