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

class  Message
 消息。 更多...
 
class  MessageQueue
 消息队列。 更多...
 
struct  SMessageMap
 
struct  SMessageMap< Messaging::Null >
 
struct  SMessageMap< Messaging::Set >
 
struct  SMessageMap< Messaging::Quit >
 
struct  SMessageMap< Messaging::Task >
 
struct  SMessageMap< Messaging::Input >
 
struct  SMessageMap< Messaging::Paint >
 

类型定义

typedef u32 ID
 消息标识。
 
typedef u8 Priority
 消息优先级。
 
typedef enum
YSLib::Messaging::MessageSpace 
MessageID
 

枚举

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

函数

const std::time_t DefTimeout (0)
 消息默认有效期。
 
template<MessageID _vID>
const SMessageMap< _vID >
::TargetType & 
FetchTarget (const Message &msg)
 

详细描述

自从
build 388

类型定义说明

消息标识。

自从
build 175

在文件 ymsg.h43 行定义.

消息优先级。

自从
build 175

在文件 ymsg.h48 行定义.

枚举类型说明

枚举值:
Null 
Set 
Paint 
Quit 
Task 
Input 

在文件 ymsgdef.h38 行定义.

函数说明

const std::time_t YSLib::Messaging::DefTimeout ( )

消息默认有效期。

自从
build 175
template<MessageID _vID>
const SMessageMap<_vID>::TargetType& YSLib::Messaging::FetchTarget ( const Message &  msg)
inline

在文件 ymsgdef.h84 行定义.