YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
系统资源和应用程序实例抽象。 更多...
类 | |
class | YSLib::Application |
程序实例。 更多... | |
命名空间 | |
namespace | YSLib |
函数 | |
YF_API Application & | YSLib::FetchAppInstance () ynothrow |
取应用程序实例。 | |
shared_ptr< Shell > | YSLib::FetchShellHandle () ynothrow |
取当前应用程序线程空间中活动的 Shell 句柄。 | |
bool | YSLib::Activate (const shared_ptr< Shell > &hShl) |
激活 Shell 对象:控制权转移给此对象以维持单线程运行。 | |
YF_API void | YSLib::PostQuitMessage (int nExitCode, Messaging::Priority p=0xF0) |
以优先级 p 发起 Shell 终止请求,返回 nExitCode。 | |
YF_API void | YSLib::PostMessage (const Message &, Messaging::Priority) ynothrow |
全局默认队列消息发送函数。 | |
void | YSLib::PostMessage (Messaging::ID id, Messaging::Priority prior, const ValueObject &vo={}) ynothrow |
void | YSLib::PostMessage (Messaging::ID id, Messaging::Priority prior, ValueObject &&c) ynothrow |
template<Messaging::MessageID _vID> | |
void | YSLib::PostMessage (Messaging::Priority prior, const typename Messaging::SMessageMap< _vID >::TargetType &target) ynothrow |
系统资源和应用程序实例抽象。
在文件 yapp.h 中定义.