YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ymsgdef.h 文件参考

标准 Shell 消息列表。 更多...

#include "ymsg.h"
#include <functional>
ymsgdef.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  YSLib::Messaging::SMessageMap< _vID >
 
struct  YSLib::Messaging::SMessageMap< Messaging::Null >
 
struct  YSLib::Messaging::SMessageMap< Messaging::Set >
 
struct  YSLib::Messaging::SMessageMap< Messaging::Quit >
 
struct  YSLib::Messaging::SMessageMap< Messaging::Task >
 
struct  YSLib::Messaging::SMessageMap< Messaging::Input >
 

命名空间

namespace  YSLib
 
namespace  YSLib::Messaging
 

宏定义

#define SM_NULL   Messaging::Null
 
#define SM_SET   Messaging::Set
 
#define SM_PAINT   Messaging::Paint
 
#define SM_QUIT   Messaging::Quit
 
#define SM_TASK   Messaging::Task
 
#define SM_INPUT   Messaging::Input
 
#define DefMessageTarget(_id, _type)
 

类型定义

typedef enum
YSLib::Messaging::MessageSpace 
YSLib::Messaging::MessageID
 

枚举

enum  YSLib::Messaging::MessageSpace {
  YSLib::Messaging::Null = 0x0000, YSLib::Messaging::Set = 0x0003, YSLib::Messaging::Paint = 0x000F, YSLib::Messaging::Quit = 0x0012,
  YSLib::Messaging::Task = 0x0016, YSLib::Messaging::Input = 0x00FF
}
 

函数

template<MessageID _vID>
const SMessageMap< _vID >
::TargetType & 
YSLib::Messaging::FetchTarget (const Message &msg)
 

详细描述

标准 Shell 消息列表。

版本
r1942
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 217
创建时间:
2009-12-08 12:05:26 +0800
修改时间:
2013-03-13 14:56 +0800
文本编码:
UTF-8
模块名称:
YSLib::Core::YMessageDefinition

在文件 ymsgdef.h 中定义.

宏定义说明

#define DefMessageTarget (   _id,
  _type 
)
值:
template<> \
struct SMessageMap<_id> \
{ \
typedef _type TargetType; \
};

在文件 ymsgdef.h68 行定义.

#define SM_INPUT   Messaging::Input

在文件 ymsgdef.h61 行定义.

参考自 GUIShell::OnGotMessage() , 以及 ShlDS::OnGotMessage().

#define SM_NULL   Messaging::Null

在文件 ymsgdef.h53 行定义.

#define SM_PAINT   Messaging::Paint

在文件 ymsgdef.h56 行定义.

参考自 GUIShell::OnGotMessage() , 以及 ShlDS::OnGotMessage().

#define SM_QUIT   Messaging::Quit

在文件 ymsgdef.h57 行定义.

参考自 GUIApplication::DealMessage() , 以及 YSLib::Shells::Shell::DefShlProc().

#define SM_SET   Messaging::Set

在文件 ymsgdef.h54 行定义.

参考自 YSLib::Shells::Shell::DefShlProc().

#define SM_TASK   Messaging::Task

在文件 ymsgdef.h59 行定义.

参考自 YSLib::Shells::Shell::DefShlProc().