|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
类 | |
| class | GAutoTask |
| 可执行更新操作的任务。 更多... | |
| class | Message |
| 消息。 更多... | |
| class | MessageException |
| 消息异常。 更多... | |
| class | MessageSignal |
| 消息信号:表示单一处理中断的异常。 更多... | |
| struct | SMessageMap |
| struct | SMessageMap< YSLib::Messaging::Bound > |
| struct | SMessageMap< YSLib::Messaging::Input > |
| struct | SMessageMap< YSLib::Messaging::Null > |
| struct | SMessageMap< YSLib::Messaging::Quit > |
| struct | SMessageMap< YSLib::Messaging::Set > |
| struct | SMessageMap< YSLib::Messaging::Task > |
类型定义 | |
| using | ID = yimpl(u32) |
| 消息标识。 更多... | |
| using | Priority = u8 |
| 消息优先级。 更多... | |
| using | MessageID = enum MessageSpace{Null=0x0000, Set=0x0003, Quit=0x0012, Bound=0x0014, Task=0x0016, Paint=0x00AF, Input=0x00FF} |
函数 | |
| template<typename _fCallable > | |
| void | Renew (_fCallable update, Priority prior=Messaging::NormalPriority) |
| 按更新条件和优先级通过消息队列部署任务。 更多... | |
| yconstexpr Priority | NormalPriority (0x80) |
| 默认消息优先级。 更多... | |
| template<MessageID _vID> | |
| const SMessageMap< _vID > ::TargetType & | FetchTarget (const Message &msg) |
| bool | operator== (const Message &x, const Message &y) |
| using YSLib::Messaging::ID = typedef yimpl(u32) |
| using YSLib::Messaging::MessageID = typedef enum MessageSpace { Null = 0x0000, Set = 0x0003, Quit = 0x0012, Bound = 0x0014, Task = 0x0016, Paint = 0x00AF, Input = 0x00FF } |
| using YSLib::Messaging::Priority = typedef u8 |
|
inline |
| yconstexpr Priority YSLib::Messaging::NormalPriority | ( | 0x80 | ) |
默认消息优先级。
| bool YSLib::Messaging::operator== | ( | const Message & | x, |
| const Message & | y | ||
| ) |
| void YSLib::Messaging::Renew | ( | _fCallable | update, |
| Priority | prior = Messaging::NormalPriority |
||
| ) |
按更新条件和优先级通过消息队列部署任务。

